ORA-39921: Default Partition (Table) Tablespace USERS for TP not contained in transportable set
2013-11-18 11:05
1256 查看
When doing transportable tablespace, I get the following errors when run the TTS set check procedure:
SQL> EXECUTE dbms_tts.transport_set_check('TS_D1,TS_D2,TS_D3,TS_D4',TRUE);
PL/SQL procedure successfully completed.
SQL> select * from sys.transport_set_violations;
VIOLATIONS
------------------------------------------------------------------------------------------------
ORA-39921: Default Partition (Table) Tablespace USERS for TP not contained in transportable set.
The problem is that the default tablespace of the partition table is not in the tablespace we need transported, we should change it:
ALTER TABLE ... MODIFY DEFAULT
ATTRIBUTES TABLESPACE ...;
ALTER TABLE TP MODIFY DEFAULT ATTRIBUTES TABLESPACE ts_d1;
After I change it, I run the TTS set check procedure again,it's OK:
SQL> EXECUTE dbms_tts.transport_set_check('TS_D1,TS_D2,TS_D3,TS_D4',TRUE);
PL/SQL procedure successfully completed.
SQL> select * from sys.transport_set_violations;
no rows selected
SQL> EXECUTE dbms_tts.transport_set_check('TS_D1,TS_D2,TS_D3,TS_D4',TRUE);
PL/SQL procedure successfully completed.
SQL> select * from sys.transport_set_violations;
VIOLATIONS
------------------------------------------------------------------------------------------------
ORA-39921: Default Partition (Table) Tablespace USERS for TP not contained in transportable set.
The problem is that the default tablespace of the partition table is not in the tablespace we need transported, we should change it:
ALTER TABLE ... MODIFY DEFAULT
ATTRIBUTES TABLESPACE ...;
ALTER TABLE TP MODIFY DEFAULT ATTRIBUTES TABLESPACE ts_d1;
After I change it, I run the TTS set check procedure again,it's OK:
SQL> EXECUTE dbms_tts.transport_set_check('TS_D1,TS_D2,TS_D3,TS_D4',TRUE);
PL/SQL procedure successfully completed.
SQL> select * from sys.transport_set_violations;
no rows selected
相关文章推荐
- ORA-14099: all rows in table do not qualify for specified partition
- You have set Tablespace Full Metrics Threshold values for the USERS tablespace as follows: Warning (
- ORA-32773: operation not supported for smallfile tablespace
- ora-01658 unable to create initial extent for segment in tablespace
- ORA-12919: Can not drop the default permanent tablespace
- Oracle 10g 异常:ORA-01658:unable to create INITIAL extent for segmnet in tablespace SYSTEM
- ORA-01688:unable to extend table name。name partition NAME by NUM in tablespace NAME
- Oracle 10g 异常:ORA-01658:unable to create INITIAL extent for segmnet in tablespace SYSTEM
- ora-01536:space quota exceeded for tablespace 'users'
- ORA-01658:unable to create INITIAL extent for segmnet in tablespace XXX
- ORA-12919: Can not drop the default permanent tablespace
- ORA-01688:unable to extend table name。name partition NAME by NUM in tablespace NAME
- Error: Table ad for model Ad was not found in datasource default.
- 20.You have set Tablespace Full Metrics Threshold values for the USERS tablespace as follows:
- ORA-01552: cannot use system rollback segment for non-system tablespace 'USERS'
- ORA-01658:Unable to create INITIAL extent for segment in tablespace %s
- ORA-01653: unable to extend table STEVEN3.FOXT_RESULT by 8192 in tablespace USERS
- ORA-32773: operation not supported for smallfile tablespace TOOLS
- ORA-01658:unable to create INITIAL extent for segmnet in tablespace XXX
- ORA-00604 ORA-00376 Unable to Drop a tablespace in GoldenGate (文档 ID 1930964.1)