mysql 查询分区表中各个分区的数据量

 

select partition_name,table_rows from information_schema.partitions where table_name='prize_log'\G;