Mysql 从dbname自定义显示表状态的结果

Mysql 从dbname自定义显示表状态的结果,mysql,Mysql,执行以下查询时是否可以获得自定义结果: show table status from dbname 从dbname显示表状态 我以这种方式定制了“ShowProcessList”查询: SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST where time > 4 order by TIME desc; 从INFORMATION_SCHEMA.PROCESSLIST中选择*,其中时间>4按时间顺序描述; 同样,我希望从上面的查询中获得自定义结果 非常感谢您

执行以下查询时是否可以获得自定义结果:

show table status from dbname 从dbname显示表状态 我以这种方式定制了“ShowProcessList”查询:

SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST where time > 4 order by TIME desc; 从INFORMATION_SCHEMA.PROCESSLIST中选择*,其中时间>4按时间顺序描述; 同样,我希望从上面的查询中获得自定义结果


非常感谢您的建议……

在浏览了信息架构之后,我得到了我的答案,我想在这里分享

SELECT * FROM information_schema.tables WHERE table_schema = 'dbname';
您想自定义查询的哪些内容?你只需要过滤它吗?是的,我想过滤记录并限制列名。 SELECT table_name,table_type,Engine,version,table_rows FROM information_schema.tables WHERE table_schema = 'jprod';
(a)show table status from dbname;
(b)SELECT * FROM information_schema.tables WHERE table_schema = 'dbname';
Query (b) provides 4 extra columns - (i) Table_catalog (ii) Table_schema (iii) Table_type (iv)Checksum
Some column names in query (a) is brief likewise table_name as name, Table_rows as rows, table_comment as comment.