交换分区:
alter table tbname1 exchange partition/subpartition ptname with table tbname2;
合并分区:
alter table tbname merge partitions/subpartitions pt1,pt2 into partition/subpartition pt3;
修改分区:
Alter table tbname modify partition/subpartition ptname add values (v1,v2....vn);
spilt分区:
该命令的语法针对不同分区会有不同的形式,
l For range partition:alter table tbname split partition ptname at (value) into (partition newpt1 tbs_clause,partition newpt2 tbs_clause);
l For list partition : alter table tbname split partition ptname values (v1,v2...vn) into (partition newpt1 tbs_clause,partition newpt2 tbs_clause);
例子省略。
阅读(1143) | 评论(0) | 转发(0) |