好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

MySQL 分区表各个分区的行数

分区的信息是记录在information_schema.partitions 这个表里的。它不能直接定位行所在的分区,但它可查到每个分区中有多少行。

例子:

select partition_name as part,partition_expression as expr,partition_description as descr,table_rows from information_schema.partitions

where table_schema= schema() and table_name=‘t‘
;

MySQL 分区表各个分区的行数

标签:

查看更多关于MySQL 分区表各个分区的行数的详细内容...

  阅读:31次