摘要:
1、索引相关 查看表索引 show index from `user` 查看sql的执行计划 explain select * from where user 2、存储过程相关 查看存储过程 show procedure status 查看存储过程AAA的ddl show create proced 阅读全文
摘要:
mysql统计指定数据库的各表的条数 SELECT table_schema,table_name,table_rows,CREATE_TIME FROM TABLES WHERE TABLE_SCHEMA='cloud_**' ORDER BY table_rows DESC; SELECT ta 阅读全文