【翻譯自mos文章】在windows平台上怎麼啟用Oracle database 企業版的partition?

來源:互聯網
上載者:User

標籤:

來源於:
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平台
[[email protected] ~]$ which lsnrctl/u02/app/oracle/product/11.2.0.4/db_1/bin/lsnrctl[[email protected] ~]$ which chopt/u02/app/oracle/product/11.2.0.4/db_1/bin/chopt[[email protected] ~]$ man choptNo manual entry for chopt[[email protected] ~]$ chopt -helpusage:chopt <enable|disable> <option>options:                  dm = Oracle Data Mining RDBMS Files                  dv = Oracle Database Vault option                lbac = Oracle Label Security                olap = Oracle OLAP        partitioning = Oracle Partitioning                 rat = Oracle Real Application Testinge.g. chopt enable rat[[email protected] ~]$ 
3. 我對chopt這個工具的理解如下:修改的是$ORACLE_HOME的功能(即:Oracle database software),至於該功能的使用需要不需要database中的資料字典支援,那需要看這個功能具體分析,若是需要資料字典的支援,那就需要dbca跑相應的指令碼。

【翻譯自mos文章】在windows平台上怎麼啟用Oracle database 企業版的partition?

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.