欢迎投稿

今日深度:

【翻译自mos文章】在windows平台上怎么启用Oracle

【翻译自mos文章】在windows平台上怎么启用Oracledatabase企业版的partition?


来源于:
How to enable Partitioning in Oracle Database Enterprise Edition 11.2 on Windows (文档 ID 1188238.1)

适用于:
Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.

目标:
在Windows平台上怎么启用Oracle database 企业版的partition?在安装时,Partitioning option已经被取消选中。

解决方案:
当你安装Oracle 11.2 企业版时,有些options 是被启用的,而其他options是被禁用的。

如果你需要为一个OracleHome启用或者禁用一个特定的databaes feature,那么需要关闭数据库并使用chopt 工具。见下面的例子:

chopt工具是一个命令行工具,该工具位于ORACLE_HOME\bin目录中,chopt的语法如下:
chopt [ enable | disable] db_option 

1. 使用srvctl 或者 sqlplus 关闭database SID=myDb的数据库
srvctl stop database -d myDb
2. 使用控制面板中的Services程序:停止database 服务以及OracleServiceSID
3. 运行下列命令:
cd %ORACLE_HOME%/bin 
chopt enable partitioning
4.使用控制面板中的Services程序:启动database 服务以及OracleServiceSID
5.启动数据库
srvctl start database -d myDb

译者注:
1.chopt这个tool是在11gR2中新添加的工具,在10g和11gR1中并没有这个工具
2.本文也适用于unix平台
[oracle@rhel63single ~]$ which lsnrctl
/u02/app/oracle/product/11.2.0.4/db_1/bin/lsnrctl
[oracle@rhel63single ~]$ which chopt
/u02/app/oracle/product/11.2.0.4/db_1/bin/chopt
[oracle@rhel63single ~]$ man chopt
No manual entry for chopt
[oracle@rhel63single ~]$ chopt -help


usage:


chopt 
3. 我对chopt这个工具的理解如下:修改的是$ORACLE_HOME的功能(即:Oracle database software),至于该功能的使用需要不需要database中的数据字典支持,那需要看这个功能具体分析,若是需要数据字典的支持,那就需要dbca跑相应的脚本。

www.htsjk.Com true http://www.htsjk.com/oracle/23963.html NewsArticle 【翻译自mos文章】在windows平台上怎么启用Oracledatabase企业版的partition? 来源于: How to enable Partitioning in Oracle Database Enterprise Edition 11.2 on Windows (文档 ID 1188238.1) 适用于: Oracle Database -...
评论暂时关闭