mysql> select table_name, table_rows from information_schema.tables where TABLE_SCHEMA = 'xcdqm'; ...
登錄mysql 使用命令:use information schema 使用命令:select table name,table rows from tables where TABLE SCHEMA emphant order by table rows desc ...
2018-11-16 17:41 0 10816 推薦指數:
mysql> select table_name, table_rows from information_schema.tables where TABLE_SCHEMA = 'xcdqm'; ...
關系型數據庫 MongoDB ...
select table_name,table_rows from information_schema.tables where TABLE_SCHEMA = '庫名' order by table_rows desc; ...
...
方法一: 方法二: ...
mysql 查看數據庫中所有表的記錄數 use information_schema; select table_name,table_rows from tables where TABLE_SCHEMA = 'testdb' order by table_rows desc; ...
源地址:http://blog.csdn.net/zhanggnol/article/details/6683697 select t.table_name,t.num_rows from user_tables t ORDER BY NUM_ROWS DESC; 還可以直接查看dblink ...