各位老师,我现在遇到了一个问题,我们单位有一张表需要扩充2009年的分区,我的操作步骤是:
1、添加了存放2009年数据和索引的表空间,TBS_DAT_PAR_05和TBS_IDX_PAR_05。
2、添加表(sru_mx)2009年的分区,该步执行成功。
alter table sru_mx add partition P_DAT_SRU_MX_2009 values less than (to_date('2010-01-01','YYYY-MM-DD')) tablespace TBS_DAT_PAR_05;
3、ALTER INDEX IDX_SRU_MX_BS_NSRSBH REBUILD PARTITION "P_DAT_SRU_MX_2009" TABLESPACE "TBS_IDX_PAR_05";
这一步报错,ORA-14074:partition bound must collate higher than that of the last partition
我怎么才可以把该表的索引2009年的分区放到TBS_IDX_PAR_05表空间上?
以下是SRU_MX表的分区信息:
select table_name,partitioning_type,subpartitioning_type from user_part_tables where table_name='SRU_MX'
table_name partitioning_type subpartitioning_type
--------------------------------------------------------------
sru_mx range