-- 前面 4 步是操作分区的字段(设置为主键 PRIMARY),如果要分区的字段已是主键可跳过这几步-- 1. 移除 id 的自增alter table [tablename] modify id bigint(20)unsigned;-- 2. 移除主键alter table [tablenam...

-- 前面 4 步是操作分区的字段(设置为主键 PRIMARY),如果要分区的字段已是主键可跳过这几步-- 1. 移除 id 的自增alter table [tablename] modify id bigint(20)unsigned;-- 2. 移除主键alter table [tablenam...