My Oracle Support Banner

Moving XDB objects to different tablespace fails with ORA-00904 (Doc ID 2517852.1)

Last updated on APRIL 22, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.

Symptoms

XDB tablespace move fails with:
set serveroutput on
begin
xdb.dbms_xdb_admin.movexdb_tablespace('XDB', trace=> TRUE);
end;
/

The error message received was -

alter table "XDB"."XDB$SIMPLE_TYPE" move tablespace "XDB"
sql_stmt: alter table "XDB"."XDB$SIMPLE_TYPE" move tablespace "XDB"
Error movexdb_tablespace: ORA-00604: error occurred at recursive SQL level
1
ORA-00904: "SYS_NC00123$": invalid identifier
drop table XDB.MOVEXDB_BACKUP_TABLE
begin
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06512: at "XDB.DBMS_XDB_ADMIN", line 1044
ORA-06512: at "XDB.DBMS_XDB_ADMIN", line 309
ORA-00904: "SYS_NC00123$": invalid identifier
ORA-06512: at "SYS.DBMS_PDB", line 33
ORA-06512: at "SYS.DBMS_PDB_EXEC_SQL", line 4
ORA-06512: at "XDB.DBMS_XDB_ADMIN", line 273
ORA-06512: at "XDB.DBMS_XDB_ADMIN", line 660
ORA-06512: at "XDB.DBMS_XDB_ADMIN", line 1024
ORA-06512: at line 2

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.