查询mysql中非系统表的数据表行数

且倒排

select table_schema,table_name,table_rows
from information_schema.tables
where table_schema != 'information_schema' and table_schema != 'mysql' and table_schema != 'performance_schema'
order by table_rows desc;

 

谢谢

 

其他例如查询单表所占空间大小、索引大小等方法参考:

相关文章:

  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
  • 2022-02-01
  • 2021-12-06
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-08
  • 2022-02-19
  • 2022-12-23
  • 2021-11-23
  • 2021-06-05
  • 2021-09-24
相关资源
相似解决方案