重建Oracle OLAP的方法
来源:互联网 发布:淘宝苹果官方旗舰店 编辑:程序博客网 时间:2024/06/03 14:53
昨天在研究如果重建Oracle OLAP,看到网上一些人的帖子,说只要运行一个脚本
<span style="font-size:14px;">@?/olap/admin/olap.sql SYSAUX TEMP;</span>
可是自己试了半天,也没有安装成功,后来在Oracle mos上找到一篇文章ID 296187.1,发现运行这个脚本是有前提条件下,现在就把这个贴子复制过来,给大家参考。
我只复制oracle 10g|11g的安装方法。
ID 296187.1
For 10G and 11G
There is no need to create the cwmlite tablespace as the catalog is now stored in the SYSAUX tablespace.
All one needs to do in 10g and 11g is run these scripts on Enterprise instances that require the OLAP option making certain to be connected '/ as sysdba'.
Step 1: Check the OLAP Option:
if TRUE, OLAP is turned on. Go to Step 2.
If FALSE, shutdown DB and turn it on:
For Unix:
make -f $ORACLE_HOME/rdbms/lib/ins_rdbms.mk ioracle
For Windows Platform the following steps will turn OLAP option ON:
1. Ensure that all processes in the ORACLE_HOME are stopped. This includes the database (if any),
listener, http (apache) server, intelligent agent, etc..
2. Change to the %ORACLE_HOME%\bin directory
3. Rename oraolapop10.dll.OFF to oraolapop10.dll
Now restart the database
Step 2: Verify 'JServer JAVA Virtual Machine' is present and VALID in the database instance:
SQL> SELECT comp_id, comp_name, status, substr(version,1,10) as version from dba_registry where comp_id like 'JAVAVM';
if this is not present or INVALID then execute these commands when connected as SYSDBA:
SQL> spool JServer.log
SQL>@?/javavm/install/initjvm.sql;
SQL>@?/xdk/admin/initxml.sql;
SQL>@?/xdk/admin/xmlja.sql;
SQL>@?/rdbms/admin/catjava.sql;
SQL> spool off
Step 3: Once the JAVAVM is installed, without errors and is VALID then we need to check and possibly install the components for the XML Database. Please check Document 1292089.1 when installing in 11g Release 2.
If this does not return something like:
COMP_NAME VERSION STATUS
------------------------- --------------------------- --------
Oracle XDK 10.2.0.4.0 VALID
Oracle XML Database 10.2.0.4.0 VALID
then you need to following the following note: Document 1292089.1 :Master Note for Oracle XML Database (XDB) Install / Deinstall.
Step 4: Check the remaining requirements:
COMP_NAME VERSION STATUS
------------------------- ----------- -----------
Oracle Expression Filter 10.2.0.4.0 VALID
If that is missing, please run the following as SYS:
-- installs the Expression Filter, adds EXF - Oracle Expression Filter
-- component to the dba_registry
Step 5: Now to the final steps to install OLAP itself:
SQL> spool add_olap.log
SQL> @?/olap/admin/olap.sql SYSAUX TEMP;
SQL> spool off
Check the add_olap.log file for any errors.
Another Method to Add OLAP - Use DBCA (Database Configuration Creation Assistant):
Launch DBCA
On DBCA Step 1 page
Select the 'Configure Database Options' button
Click 'Next'
On Step 2 page
Select the correct database
Click 'Next'
On Step 3 Database Content page
Under 'Database Components'
Check 'Oracle Olap'
if 'Oracle OLAP' is not an available option
then select 'Standard Database Components'
check 'Oracle JVM'
then select 'OK', returning to the previous page
now 'Oracle OLAP' should be available to select
Click 'Next'
Click 'Finish'
Restart the database
Check the install with the following:
SQL> select comp_name, status, substr(version,1,10) as version from dba_registry;
The required components for using OLAP are and should be VALID:
COMP_NAME VERSION STATUS
-------------------------------- --------------- -----------
OLAP AnalyticWorkspace 10.X VALID
Oracle OLAP API 10.X VALID
OLAP Catalog 10.X VALID
JServer JAVA Virtual Machine 10.x VALID
Oracle XDK 10.x VALID
Oracle Database Java Packages 10.x VALID
Oracle XML Database 10.x VALID
Oracle Expression Filter 10.x VALID
After OLAP has been applied and is valid, it is recommended to apply the latest OLAP patches. You can find the list or recommended patches at
http://www.oracle.com/technetwork/database/options/olap/olap-certification-092987.html
- 重建Oracle OLAP的方法
- Oracle OLAP 组件 重建 说明
- oracle 重建scott的方法
- oracle oem重建方法
- 管理Oracle OLAP时清除通往OLAP的障碍
- Oracle表的重建
- 重建oracle的em
- Oracle OLAP
- 在ORACLE里按用户名重建索引的方法
- 用重建控制文件的方法修改oracle数据文件路径
- 在ORACLE里按用户名重建索引的方法
- [转贴]在ORACLE里按用户名重建索引的方法
- 在ORACLE里按用户名重建索引的方法
- 重建Oracle数据库控制文件的简单方法
- ORACLE里按用户名重建索引的方法
- 在ORACLE里按用户名重建索引的方法
- Oracle中加速索引创建或重建的方法
- Oracle 11g EM删除重建的方法
- Android Accessibility(辅助功能) --实现Android应用自动安装、卸载
- ubuntu 14.04 LTS 使用rdesktop 剪贴板 无作用的问题解决
- 【转】使用Visual C# 2010编写串口程序
- 蜕变成PHP程序员的我
- Jenkins运行utPLSQL案例
- 重建Oracle OLAP的方法
- myeclipse6.5发布项目出现一些文件被锁,发布不成功
- presentation Controllers的使用(二)
- 代码重构方向原则指导
- 关于编程
- iOS App开发那些事:如何选择合适的人、规范和框架?
- load the data to mysql
- 亲热
- 如何吃好Android5.0棒棒糖