메뉴 건너뛰기

Korea Oracle User Group

Admin

DB option Enable / Disable 정리 방법 - Mos 참고

우뽕 2021.01.31 10:51 조회 수 : 1220 추천:1

Oracle DB option Disable /Enable 하는 문서 공유 합니다. 

필요할때 발생 시 버전에 맞게 수행 하시면 됩니다.

 

 

 For Database version 11g Release 2 (11.2.x).

On both Unix and Windows we use the chopt tool (available in 11.2) to disable Oracle Data Mining in the database.

Note: 11G Install guide recommends you remove  DMSYS schema if it exists. This is NOT the same as removing Oracle Data Mining. Do not disable Oracle Data Mining when all you want is to drop DMSYS schema.
  • On Linux/Unix platform as below:
 
$ cd $ORACLE_HOME/bin
$ srvctl stop database -d myDb
$ chopt disable dm
$ srvctl start database -d myDb
  • On Windows platform as below:

 

 
1. Shut down the database with srvctl or SQL*Plus:
srvctl stop database -d myDb

2. Stop the database service, OracleServiceSID, using the Services program in Control Panel.
3. Run the following commands:

cd %ORACLE_HOME%/bin
chopt disable dm

4. Start the database service, OracleServiceSID, using the Services program in Control Panel.

5. Start up the database:

srvctl start database -d myDb

 

For Database version 12c (12.1.x)

CHOPT can be used as per Oracle Document: Enabling and Disabling Database Options

 

The following example shows how to use the chopt tool to enable and disable the Oracle Data Mining option in an Oracle Database called Sales:

cd $ORACLE_HOME/bin

srvctl stop database -d Sales

chopt [ enable | disable] dm

 srvctl start database -d Sales

 

For Database version 12.2

ODM is part of Oracle Advanced Analytics (OAA).To disable ODM:
chopt disable oaa

 

 

https://docs.oracle.com/database/121/LADBI/post_inst_task.htm#LADBI5600

 

8.3.6 Enabling and Disabling Database Options

When you install Oracle Database, some options are enabled and others are disabled. To enable or disable a particular database feature for an Oracle home, shut down the database and use the chopt tool. See Example 8-1.

The chopt tool is a command-line utility that is located in the ORACLE_HOME/bin directory. The syntax for chopt is:

chopt [ enable | disable] db_option

The possible values for db_option are described in the following table:

Value Description
dm Oracle Data Mining RDBMS Files
olap Oracle OLAP
partitioning Oracle Partitioning
rat Oracle Real Application Testing

Example 8-1 Complete Example of Running the Chopt Tool

To enable the Oracle Data Mining option in your Oracle binary files, use the following command:

cd $ORACLE_HOME/bin
srvctl stop database -d myDb
chopt enable dm
srvctl start database -d myDb

 

 

 

 

번호 제목 글쓴이 날짜 조회 수
34 Partition 추가의 계절 - Range Partition 추가시 알아 두어야할 부분 [1] 명품관 2015.12.03 2225
33 Alert Log를 SQL 사용하여 보기 (X$DBGALERTEXT) [1] 에밀리오 2016.01.28 2039
32 Result Cache(oracle11g NF) [6] ocm10gr2 2016.03.14 272
31 테이블 컬럼의 Default 값에 대한 흔적은 Dictionary에 계속 남게 된다. 명품관 2016.04.05 1590
30 내가 돌린 SQL ID 찾기 [1] Talros 2016.05.12 8815
29 DB에 생성된 ROLE의 생성 정보 확인 [2] 명품관 2016.05.31 926
28 Active Session History를 이용한 TOP SQL 분석 (GV$ACTIVE_SESSION_HISTORY) 에밀리오 2016.07.12 1207
27 Kill Session Script (GV$SESSION) 에밀리오 2016.07.12 2142
26 Oracle VMSTAT을 이용한 CPU 사용량 활용법 에밀리오 2016.07.14 906
25 Oracle Resource Limit를 이용한 간단한 Parameter Check (GV$RESOURCE_LIMIT) 에밀리오 2016.07.15 2253
24 Oracle Archive log 사용량 확인(GV$ARCHIVED_LOG) [1] 에밀리오 2016.08.04 11237
23 Fixed Table에 대한 권한은 직접적으로 부여되지 않는다. 명품관 2016.08.26 2693
22 Block Cleanout(블럭 클린아웃) 명품관 2016.09.23 1515
21 Schema Password 복사 하기 Talros 2016.10.05 3289
20 오라클 패치 정보를 조회할 수 있는 뷰 DBA_REGISTRY_SQLPATCH 명품관 2017.03.02 5493
19 DBMS_SCHEDULER을 통해 OS 레벨(EXTERNAL)의 shell 수행하기 명품관 2017.04.05 5766
18 External Table 기능을 사용해 파일 읽기 명품관 2017.04.05 965
17 Alert log 에서 갑자기 패치 정보가 나타나는 현상 Talros 2019.09.23 1669
16 [12cR2 이상] 오브젝트 이름 30자이상 사용 가능 우뽕 2020.01.22 3026
15 SQL Plan Management(SPM) - 1 파라미터의 기능 확인 명품관 2020.03.19 1018
위로