ORA-14254: cannot specify ALLOCATE STORAGE for a (Composite) Range or List partitioned table
Cause: User specified ALLOCATE STORAGE clause in ALTER TABLE statement issued against a Range or Composite Range partitioned table which is illegal.
Action: Remove the illegal option. If it is desired to add storage to individual partitions/subpartitions, ALLOCATE STORAGE clause may be specified with ALTER TABLE MODIFY PARTITION/SUBPARTITION statement. If it is desired to add storage to all subpartitions of a Composite partition, ALLOCATE STORAGE clause may be specified with ALTER TABLE MODIFY PARTITION.
这个错误指的是,用户企图为范围或者列表分区表指定存储选项ALLOCATE STORAGE,而无法进行此操作。
ORA-14254: 不能为(复合)范围或列表分区表指定ALLOCATE STORAGE。
此操作是一个非法的操作,Oracle不允许用户为范围或列表分区表指定ALLOCATE STORAGE,因为这种分区表的分区键导致它们自动分配存储空间。
假设用户希望为一个复合分区表指定ALLOCATE STORAGE,可能会产生如下错误:
EROR:
ORA-14254: 不能为(复合)范围或列表分区表指定ALLOCATE STORAGE
为了解决这个错误,用户需要在创建表时避免指定ALLOCATE STORAGE,或者尝试使用哈希或值分区。可以使用SQL ALTER TABLE语句重新定义现有表,以避免指定ALLOCATE STORAGE:
ALTER TABLE table_name
MODIFY
(
span new_partition_type
);