Applies to: Oracle Database - Enterprise Edition - Version 10.2.0.1 to 12.1.0.1 [Release 10.2 to 12.1] Other UNIX Goal To show how to install/deinstall and/or disable/enable the following database components at the ORACLE_HOME software/bin
Applies to:
Oracle Database - Enterprise Edition - Version 10.2.0.1 to 12.1.0.1 [Release 10.2 to 12.1]Other UNIX
Goal
To show how to install/deinstall and/or disable/enable the following database components at the ORACLE_HOME software/binary level:
Product/Component | Short Name |
---|---|
Automated Storage Management | ASM |
Context Management Text | CTX |
Oracle Data Mining | DM |
Database Vault | DV |
Oracle OLAP | OLAP |
Oracle Label Security | OLS |
Oracle Partitioning | PART |
Real Application Cluster | RAC |
Real Application Testing | RAT |
This requires advanced skills to make the changes and perform the relink.
This note WILL NOT address product specific scripts that are required at the database level for specific components to further complete the install/deinstall process.
Please refer to the appropriate Oracle Component Guide or as a starting point
Note 472937.1 Information On Installed Database Components and Schemas
Furthermore it will only cover UNIX/LINUX and Windows where applicable covering versions 9.2.0.x through 11.2.0.x.
Solution
Checking if products/components have been installed
Starting with releases 11.1.0.7.x and above all products are installed by default and the option to customize the product/component selection is no longer possible.
The only customization that can be done on these releases is to enable or disable certain products/components which will be covered in the following divs.
For versions 9.2.0.x through 11.1.0.6.x product installation can be confirmed in the following manner:
1. Using the Oracle Universal Installer (OUI) from either the $ORACLE_HOME/oui/bin or software installation media:
$ cd
$ ./runInstaller
click on "Installed Products"
select the ORACLE_HOME
click on "Expand All"
Review the list or products installed.
2. Use the opatch utility:
$ export PATH=$ORACLE_HOME/OPatch:$PATH
$ opatch lsinventory -detail
Review the log file in either $ORACLE_HOME/.patch_storage/ or $ORACLE_HOME/cfgtoollogs/opatch/lsinv
Use the following notes to assist with product identification:
Note 783288.1 Oracle Database Software Component Guide for 10gR2
Note 783290.1 Oracle Database Software Component Guide for 11gR1
What file contains the various status's of products/components?
Once the products/components have been confirmed as being installed (applicable only to versions 9.2.0.x through 11.1.0.6.x) then they can be enabled/disabled at the binary level.
The file that contains the status of components being enabled or disabled is:
$ORACLE_HOME/rdbms/lib/libknlopt.a
The relevant files contained within this archive and status's associated with them are:
Automatic Storage Mgt ON=kfon.o
Automatic Storage Mgt OFF=kfoff.o
Context Management Text ON=kciwcx.o
Oracle Data Mining ON=dmwdm.o
Oracle Data Mining OFF=dmndm.o
Oracle Database Vault ON=kzvidv.o
Oracle Database Vault OFF=kzvndv.o
Oracle OLAP ON=xsyeolap.o
Oracle OLAP OFF=xsnoolap.o
Oracle Label Security ON= kzlilbac.o
Oracle Label Security OFF= kzlnlbac.o
Oracle Partitioning ON=kkpoban.o
Oracle Partitioning OFF=ksnkkpo.o
Real Application Cluster ON=kcsm.o
Real Application Cluster OFF=ksnkcs.o
Oracle Real Application Testing ON=kecwr.o
Oracle Real Application Testing OFF=kecnr.o
The following command can be used to verify the contents of the archive:
$ cd $ORACLE_HOME/rdbms/lib
$ ar -tv libknlopt.a
For IBM AIX
$ cd $ORACLE_HOME/rdbms/lib
$ ar -X64 -tv libknlopt.a
Sample output:
$ ar -tv libknlopt.a
rw-rw-r-- 94110/42424 275432 Sep 17 08:28 2011 kkxwtp.o
rw-rw-r-- 94110/42424 46832 Sep 17 07:14 2011 ktd.o
rw-r--r-- 503/502 25144 Sep 17 06:20 2011 kxmwsd.o
rw-r--r-- 503/502 44056 Sep 17 06:14 2011 kciwcx.o
rw-rw-r-- 94110/42424 4040 Sep 17 07:16 2011 sllfls.o
rw-rw-r-- 94110/42424 4032 Sep 17 07:16 2011 kprnts.o
rw-rw-r-- 94110/42424 5104 Sep 17 07:19 2011 kzvndv.o
rw-rw-r-- 94110/42424 4016 Sep 17 06:55 2011 kdzof.o
rw-rw-r-- 94110/42424 1512392 Sep 17 07:03 2011 jox.o
rw-rw-r-- 503/502 4032 Sep 17 06:05 2011 kecwr.o
rw-r--r-- 503/502 6352 Sep 17 06:19 2011 xsyeolap.o
rw-r--r-- 503/502 4872 Sep 17 06:14 2011 kzlnlbac.o
rw-r--r-- 503/502 4024 Sep 17 06:15 2011 dmwdm.o
rw-r--r-- 503/502 4608 Sep 17 05:56 2011 kfoff.o
rw-r--r-- 503/502 5272 Sep 17 05:57 2011 ksnkcs.o
rw-r--r-- 503/502 4032 Sep 17 06:05 2011 kkpoban.o
Checking if products/components have been enabled/disabled at the binary level
An alternative to going through the $ORACLE_HOME/rdbms/lib/libknlopt.a output line by line is to check the archive for the existance of the 'ON' file noted above by running the following command:
$ cd $ORACLE_HOME/rdbms/lib
$ ar -t libknlopt.a | grep -c
For IBM AIX
$ cd $ORACLE_HOME/rdbms/lib
$ ar -X64 -t libknlopt.a | grep -c
Where
Product/Component | Short Name | |
---|---|---|
Automated Storage Management | ASM | kfon.o |
Oracle Data Mining | DM | dmwdm.o |
Database Vault | DV | kzvidv.o |
Oracle OLAP | OLAP | xsyeolap.o |
Oracle Label Security | OLS | kzlilbac.o |
Oracle Partitioning | PART | kkpoban.o |
Real Application Cluster | RAC | kcsm.o |
Real Application Testing | RAT | kecwr.o |
For example:
$ ar -t libknlopt.a | grep -c kfon.o
For IBM AIX
$ ar -X64 -t libknlopt.a | grep -c kfon.o
If the output is 0, the option is disabled.
If the output is 1, the option is enabled.
How to enable/disable products/components at the binary level
For all versions 9.2.0.x through 11.2.0.x or above products/components can be enabled or disabled by running 'make' commands and passing the appropriate switch.
Note:
All processes running from the ORACLE_HOME including but not limited to databases, listeners, intelligent agents, etc. must be shutdown/stopped before issuing these commands.
For example to enable/disable Oracle Partitioning:
Enable
------
$ cd $ORACLE_HOME/rdbms/lib
$ make -f ins_rdbms.mk part_on ioracle
Disable
-------
$ cd $ORACLE_HOME/rdbms/lib
$ make -f ins_rdbms.mk part_off ioracle
The list of switches for each product/component are:
Product/Component | Enable Switch | Disable Switch |
---|---|---|
Automated Storage Management | asm_on | asm_off |
Oracle Data Mining | dm_on | dm_off |
Database Vault | dv_on | dv_off |
Oracle OLAP | olap_on | olap_off |
Oracle Label Security | lbac_on | lbac_off |
Oracle Partitioning | part_on | part_off |
Real Application Cluster | rac_on | rac_off |
Real Application Testing | rat_on | rat_off |
Warning: switching on ASM should only be done on Grid Infrastructure Homes in Oracle 11gR2. Doing it on an RDBMS ORACLE_HOME will result in errors on startup.
Starting with 11.2 and above there is a utility called 'chopt' that can be used in UNIX/LINUX and WINDOWS as well.
usage:
chopt
For example to enable/disable Oracle Partitioning:
Enable
--------
$ chopt enable partitioning
Disable
---------
$ chopt disable partitioning
This utility only works for the following products/components:
Product/Component | Option |
---|---|
Oracle Data Mining | dm |
Database Vault | dv |
Oracle OLAP | olap |
Oracle Label Security | lbac |
Oracle Partitioning | partitioning |
Real Application Testing | rat |
For Oracle Database 12.1 , only the following components can be enabled/disabled:
Product/Component | Option |
---|---|
Oracle Data Mining | dm |
Oracle OLAP | olap |
Oracle Partitioning | partitioning |
Real Application Testing | rat |

MySQL在数据库和编程中的地位非常重要,它是一个开源的关系型数据库管理系统,广泛应用于各种应用场景。1)MySQL提供高效的数据存储、组织和检索功能,支持Web、移动和企业级系统。2)它使用客户端-服务器架构,支持多种存储引擎和索引优化。3)基本用法包括创建表和插入数据,高级用法涉及多表JOIN和复杂查询。4)常见问题如SQL语法错误和性能问题可以通过EXPLAIN命令和慢查询日志调试。5)性能优化方法包括合理使用索引、优化查询和使用缓存,最佳实践包括使用事务和PreparedStatemen

MySQL适合小型和大型企业。1)小型企业可使用MySQL进行基本数据管理,如存储客户信息。2)大型企业可利用MySQL处理海量数据和复杂业务逻辑,优化查询性能和事务处理。

InnoDB通过Next-KeyLocking机制有效防止幻读。1)Next-KeyLocking结合行锁和间隙锁,锁定记录及其间隙,防止新记录插入。2)在实际应用中,通过优化查询和调整隔离级别,可以减少锁竞争,提高并发性能。

MySQL不是一门编程语言,但其查询语言SQL具备编程语言的特性:1.SQL支持条件判断、循环和变量操作;2.通过存储过程、触发器和函数,用户可以在数据库中执行复杂逻辑操作。

MySQL是一种开源的关系型数据库管理系统,主要用于快速、可靠地存储和检索数据。其工作原理包括客户端请求、查询解析、执行查询和返回结果。使用示例包括创建表、插入和查询数据,以及高级功能如JOIN操作。常见错误涉及SQL语法、数据类型和权限问题,优化建议包括使用索引、优化查询和分表分区。

MySQL是一个开源的关系型数据库管理系统,适用于数据存储、管理、查询和安全。1.它支持多种操作系统,广泛应用于Web应用等领域。2.通过客户端-服务器架构和不同存储引擎,MySQL高效处理数据。3.基本用法包括创建数据库和表,插入、查询和更新数据。4.高级用法涉及复杂查询和存储过程。5.常见错误可通过EXPLAIN语句调试。6.性能优化包括合理使用索引和优化查询语句。

选择MySQL的原因是其性能、可靠性、易用性和社区支持。1.MySQL提供高效的数据存储和检索功能,支持多种数据类型和高级查询操作。2.采用客户端-服务器架构和多种存储引擎,支持事务和查询优化。3.易于使用,支持多种操作系统和编程语言。4.拥有强大的社区支持,提供丰富的资源和解决方案。

InnoDB的锁机制包括共享锁、排他锁、意向锁、记录锁、间隙锁和下一个键锁。1.共享锁允许事务读取数据而不阻止其他事务读取。2.排他锁阻止其他事务读取和修改数据。3.意向锁优化锁效率。4.记录锁锁定索引记录。5.间隙锁锁定索引记录间隙。6.下一个键锁是记录锁和间隙锁的组合,确保数据一致性。


热AI工具

Undresser.AI Undress
人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover
用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool
免费脱衣服图片

Clothoff.io
AI脱衣机

AI Hentai Generator
免费生成ai无尽的。

热门文章

热工具

Dreamweaver CS6
视觉化网页开发工具

安全考试浏览器
Safe Exam Browser是一个安全的浏览器环境,用于安全地进行在线考试。该软件将任何计算机变成一个安全的工作站。它控制对任何实用工具的访问,并防止学生使用未经授权的资源。

EditPlus 中文破解版
体积小,语法高亮,不支持代码提示功能

禅工作室 13.0.1
功能强大的PHP集成开发环境

WebStorm Mac版
好用的JavaScript开发工具