1、统计指定数据库中的表的行数:
use information_schema;select table_name,table_rows from tables where TABLE_SCHEMA = 'databasename' order by table_rows desc;
上一篇:MySQL错误处理--1146错误
下一篇:MySQL主从复制性能优化