mysql数据库常用分析语句
数据库名 test_schema
数据库表名 test_table
慢查询语句
explain select * from test_table;
查看数据库表状态
select * from information_schema.tables
where table_name = 'test_table';
查看表的最后mysql修改时间
select TABLE_NAME,UPDATE_TIME from
INFORMATION_SCHEMA.tables where
TABLE_SCHEMA = 'test_schema';