欢迎光临
我们一直在努力

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);

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。