ORA-14044: only one partition may be moved ORACLE 报错 故障修复 远程处理
文档解释
ORA-14044: only one partition may be moved
Cause: ALTER TABLE MOVE PARTITION contained descriptions of more than one partition to be moved
Action: Ensure that the statement describes exactly one partition to be moved and that it does not contain any commas
ORA-14044: 是由于超出同一操作中可移动的分区数量而导致的错误,官方解释是:只允许同一 ALTER TABLE 操作中移动一个分区。
常见案例
ALTER TABLE table_name MOVE PARTITION (part1, part2);
正常处理方法及步骤
1.请确保在一个 ALTER TABLE 操作中只移动一个分区;
2.用多个 ALTER TABLE 语句分开移动每个分区,每个 ALTER TABLE 语句移动一个分区;
3.可以使用 ALTER TABLE … EXCHANGE PARTITION 语句,它同时移动两个分区。