ORA-14208: lower-bound subpartition must be specified first ORACLE 报错 故障修复 远程处理
文档解释
ORA-14208: lower-bound subpartition must be specified first
Cause: A higher-bound subpartition was specified before the lower-bound subpartition in ALTER TABLE MERGE SUBPARTITIONS statement.
Action: Specify lower-bound subpartition first and then higher-bound subpartition
ORA-14208是一个基于表空间的错误,它提示必须先指定下限(lower-bound)子分区。
Oracle官方的解释是ORA-14208错误的数据库表空间只能在定义时才具有下限子分区。
一个普遍的情况是,当DBA试图在没有定义下限子分区的表空间上创建表时,可能会看到此错误:
SQL> create table test tablespace tbs_with_subpartition
2 subpartition by range (id)
3 (partition p1 values less than (1000));
出现ORA-14208:lower-bound subpartition must be specified first。
正确的操作方法及步骤应该是:
(1) 创建下限子分区:
alter table tbs_with_subpartition add subpartition lower values less than (1000);
(2) 再创建其他的子分区和分区:
alter table tbs_with_subpartition add subpartition p1 values less than (2000);
alter table tbs_with_subpartition add subpartition p2 values less than (3000);
alter table tbs_with_subpartition add subpartition p3 values less than (maxvalue);