mysql 分区
ALTER TABLE role_form_data_permit_map PARTITION BY KEY(id) PARTITIONS 5
SELECT PARTITION_NAME,TABLE_ROWS,PARTITION_EXPRESSION,PARTITION_DESCRIPTION FROM INFORMATION_SCHEMA.PARTITIONS WHERE TABLE_NAME = 'role_form_func_permit_map'
ALTER TABLE role_form_data_permit_map PARTITION BY KEY(id) PARTITIONS 5
SELECT PARTITION_NAME,TABLE_ROWS,PARTITION_EXPRESSION,PARTITION_DESCRIPTION FROM INFORMATION_SCHEMA.PARTITIONS WHERE TABLE_NAME = 'role_form_func_permit_map'