--XDB组件状态:
SQL> selectcomp_id,comp_name,version,status from dba_registry;
COMP_ID COMP_NAME VERSION STATUS
--------------------------------------------- --------------- -----------------
XDB Oracle XML Database 11.2.0.4.0 INVALID
--卸载XDB:
SQL> @?/rdbms/admin/catnoqm.sql
--安装XDB
SQL>shutdown immediate
SQL>startup
SQL> @?/rdbms/admin/catqm.sql oracle SYSAUX TEMP YES
SQL> @?/rdbms/admin/utlrp.sql
验证: XDB 已经正常了:
SQL> selectcomp_id,comp_name,version,status from dba_registry;
COMP_ID COMP_NAME VERSION STATUS
--------------------------------------------- --------------- -----------------
XDB Oracle XML Database 11.2.0.4.0 VALID
|