MySQL中有几十上百甚至上千张表,要怎么查看哪个表的数据量最大呢?可以通过查看information_schema库中的tables表来获取哪个库中哪个表的数据最大:mysql> select table_schema,table_name,table_rows from INFORMATION_SCHEMA.tables order by table_rows desc limit...
时光匆匆,记录是对思维的沉淀;
MySQL中有几十上百甚至上千张表,要怎么查看哪个表的数据量最大呢?可以通过查看information_schema库中的tables表来获取哪个库中哪个表的数据最大:mysql> select table_schema,table_name,table_rows from INFORMATION_SCHEMA.tables order by table_rows desc limit...