select comp_id, comp_name, version,status from dba_registry where comp_id in ('XDB','XML','JAVAVM','EXF'); COMP_ID COMP_NAME VERSION STATUS ---------- ------------------------------ ---------- ---------- XDB Oracle XML Database 11.2.0.4.0 VALID EXF Oracle Expression Filter 11.2.0.4.0 VALID JAVAVM JServer JAVA Virtual Machine 11.2.0.4.0 VALID XML Oracle XDK 11.2.0.4.0 VALID
If java virtual machine is not installed:
sqlplus / as sysdba set echo on spool JServer.log @?/javavm/install/initjvm.sql; @?/xdk/admin/initxml.sql; @?/xdk/admin/xmlja.sql; @?/rdbms/admin/catjava.sql; spool off
If XML DB is not yet install, you need to follow "Master Note for Oracle XML Database (XDB) Install / Deinstall (Doc ID 1292089.1)" from Oracle Support
If Oracle Expression Filter is not installed:
sqlplus / as sysdba @?/rdbms/admin/catexf.sql
1. Start by shutting down the database:
sqlplus / as sysdba shutdown immediate2. Prepare your ORACLE_HOME by relinking the "oracle" executable.
For Oracle 11R2 and above, use the chopt utility. It was provided to help DBAs add new options and implicitly relink the binaries.
chopt enable olap Writing to /u01/oracle/product/11204/install/enable_olap.log... /usr/bin/make -f /u01/oracle/product/11204/rdbms/lib/ins_rdbms.mk olap_on ORACLE_HOME=/u01/oracle/product/11204 /usr/bin/make -f /u01/oracle/product/11204/rdbms/lib/ins_rdbms.mk ioracle ORACLE_HOME=/u01/oracle/product/11204
For versions prior to 11gR2:
cd $ORACLE_HOME/rdbms/lib make -f ins_rdbms.mk olap_on make -f ins_rdbms.mk ioracle
3. Open your database:
sqlplus / as sysdba startup
4. Set up OLAP
cd $ORACLE_HOME/olap/admin sqlplus / as sysdba spool install_olap.log @olap.sql SYSAUX TEMP
5. Verify that OLAP was installed:
select * from v$option where parameter='OLAP'; PARAMETER VALUE ------------------------------ ------------------------------ OLAP TRUE