转载:https://blog.csdn.net/qq13650793239/article/details/81142134

mysql数据库中information_schema 数据库存储了数据库很多信息,可以通过查询tables表来获得所需要的表相关信息。

mysql> select table_name,table_rows from  tables order by table_rows desc limit 10;
+--------------------+------------+
| table_name         | table_rows |
+--------------------+------------+
| game_report_copy   |  399828255 |
| game_report_detail |   54565581 |
| stat_charge_num    |   19615374 |
| stat_online        |   14942555 |
| game_role_log      |   12310895 |
| stat_task_finish   |   10771985 |
| stat_online_201807 |    7759533 |
| stat_lv_offline    |    7642807 |
| stat_surface_skill |    6457797 |
| stat_online_201806 |    6027169 |
+--------------------+------------+

相关文章:

  • 2021-11-29
  • 2022-12-23
  • 2022-02-16
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-26
  • 2021-11-30
  • 2022-12-23
  • 2021-07-02
  • 2022-12-23
  • 2021-12-18
相关资源
相似解决方案