ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling
complimentary technical Workshops on Database Security for the first 30
Oracle Database customers located anywhere in North America, EMEA, LATAM, or
APAC that send an email to
asra_us@oracle.com. Request a Workshop for
your organization today.
Purpose
Provides an interface to manage the XMLIndex on the XML DB repository.
Moves xdb to the specified tablespace after waiting for all XDB sessions to exit
dbms_xdb_admin.moveXDB_Tablespace(
new_tablespace IN VARCHAR2,
trace IN BOOLEAN := FALSE);
exec dbms_xdb_admin.moveXDB_Tablespace('XDBTBS');
Error movexdb_tablespace: ORA-12719: operation
requires database is in RESTRICTED mode
ORA-00942: table or view does not exist
BEGIN dbms_xdb_admin.moveXDB_Tablespace('XDBTBS'); END;
*
ERROR at line 1:
ORA-12719: operation requires database is in RESTRICTED mode
ORA-06512: at "XDB.DBMS_XDB_ADMIN", line 1046
ORA-06512: at "XDB.DBMS_XDB_ADMIN", line 535
ORA-06512: at "XDB.DBMS_XDB_ADMIN", line 1026
ORA-06512: at line 1
Rebuilds the hierarchical Index; Used after imp/exp since we do cannot export data from xdb$h_index as it contains rowids.
dbms_xdb_admin.rebuildHeierarchicalIndex;
exec dbms_xdb_admin.rebuildHierarchicalIndex;
BEGIN dbms_xdb_admin.rebuildHierarchicalIndex; END;
*
ERROR at line 1:
ORA-31097: Hierarchical Index not empty
ORA-06512: at "XDB.DBMS_XDB_ADMIN", line 1050
ORA-06512: at "XDB.DBMS_XDB_ADMIN", line 1061
ORA-06512: at line 1