方法1:sql查询
select partition_name part,partition_expression expr,partition_description descr,table_rows
from INFORMATION_SCHEMA.PARTITIONS where TABLE_SCHEMA=SCHEMA() AND TABLE_NAME= 'xxx';
方法2:查看数据存储位置,进入数据库存储位置查看
show variables like 'datadir';