How to reload XS without re-installing XML Database (XDB) (Doc ID 1308696.1)

Last updated on DECEMBER 29, 2011

Applies to:

Oracle Server - Enterprise Edition - Version: 11.2.0.2 to 11.2.0.2 - Release: 11.2 to 11.2
Information in this document applies to any platform.

Symptoms

While upgrading database, it is seen that there are missing or malformed XS$ objects in the database, yet in dba_registry the XDB component is VALID:

SQL> grant delete on XDB.XS$PRINCIPALS to olap_xs_admin;
grant delete on XDB.XS$PRINCIPALS to olap_xs_admin
*
ERROR at line 1:
ORA-00942: table or view does not exist

SQL> grant select on XDB.XS$DATA_SECURITY to olap_xs_admin;
grant select on XDB.XS$DATA_SECURITY to olap_xs_admin
*
ERROR at line 1:
ORA-00942: table or view does not exist

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms