ORA-08112: a composite partition may not be coalesced as a whole

文档解释

ORA-08112: a composite partition may not be coalesced as a whole

Cause: User attempted to coalesce a composite partition

Action: Coalesce the index a subpartition at a time (using ALTER INDEX MODIFY SUBPARTITION COALESCE)

Oracle ORA-08112: 当一个复合分区尝试被汇合在一起时,将会回报这个错误。

官方解释

常见案例

正常处理方法及步骤

1. 使用ALTER TABLE 指令将复合分区拆分为多个子分区,如ALTER TABLE tbl_name SPLIT PARTITION p1 at VALUES (x ) INTO (PARTITION p2,PARTITION p3);;

2. 删除复合分区,如ALTER TABLE tbl_name DROP PARTITION p1;

3. 重新创建复合分区,如ALTER TABLE tbl_name COALESCE PARTITION 3;

4. 重新合并子分区,如ALTER TABLE tbl_name MERGE PARTITION p2 and p3 INTO PARTITION p1;。

你可能感兴趣的