MySQL分区表二级索引是否要加入分区字段?
主键和唯一索引必须包含所有的分区字段。 All columns used in the partitioning expression for a partitioned table must be part of every unique key that the table may have.