select partition_name part,partition_expression expr,partition_description descr,table_rows from INFORMATION_SCHEMA.PARTITIONS where TABLE_SCHEMA=SCHEMA() AND TABLE_NAME='mx_domain'
//查看分区信息
CREATE TABLE `mx_domain` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`name` varchar(100) NOT NULL,
PRIMARY KEY (`id`),
KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=164612 DEFAULT CHARSET=latin1 COMMENT='域名表 所有的 域名现在全部放在这里面'
PARTITION BY KEY (id) PARTITIONS 200