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 ...