Mysql 查询Hash分区

select * from information_schema.partitions where table_schema=database() and table_name='table_name';

原文地址:https://www.cnblogs.com/xlz307/p/4050932.html