문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
study:oracle:10gadminii:configuringrecoverymanager [2008/03/23 01:52] starlits |
study:oracle:10gadminii:configuringrecoverymanager [2008/03/23 02:10] (현재) starlits |
||
---|---|---|---|
줄 180: | 줄 180: | ||
FOR DEVICE TYPE DISK TO '/ | FOR DEVICE TYPE DISK TO '/ | ||
</ | </ | ||
+ | |||
===== Retention Policies ===== | ===== Retention Policies ===== | ||
+ | - 백업 유지 정책 | ||
+ | - 2가지 유지 정책 | ||
+ | - Recovery window : 7일로 설정했다면 7일 전으로 되돌아 갈 수 있어야 한다. \\ 그러기 위해서는 백업은 7일 이전의 것이 필요할 수도 있다. \\ (하나만 보존함) | ||
+ | - Redundancy : 지정된 갯수 이상의 백업 또는 복사본은 보존할 필요가 없음 | ||
+ | - 이들 정책은 상호배타적(mutually exclusive)이며 CONFIGURE 명령으로 설정할 수 있다. | ||
===== Managing Persistent Settings ===== | ===== Managing Persistent Settings ===== | ||
줄 209: | 줄 215: | ||
- 할당된 각 채널은 해당 인스턴스에서 Sever Sessions을 시작하여 RMAN executable 에서 Auxiliary Database로 접속을 설정한다. | - 할당된 각 채널은 해당 인스턴스에서 Sever Sessions을 시작하여 RMAN executable 에서 Auxiliary Database로 접속을 설정한다. | ||
- Only one RMAN session communicates with allocated server sessions; | - Only one RMAN session communicates with allocated server sessions; | ||
+ | |||
===== Automatic and Manual Channel Allocation ===== | ===== Automatic and Manual Channel Allocation ===== | ||
+ | |||
+ | ==== Automatic Channel Allocation ==== | ||
+ | |||
+ | - 자동 채널 할당된 default device type 변경 < | ||
+ | RMAN> CONFIGURE DEFAULT DEVICE TYPE TO sbt; | ||
+ | </ | ||
+ | - RMAN provides a preconfigured DISK channel that you can use for backups and copies to disk. | ||
+ | |||
+ | ==== Manual Channel Allocation ==== | ||
+ | - 수동 채널 할당 < | ||
+ | RMAN> RUN { | ||
+ | 2> ALLOCATE CHANNEL c1 DEVICE TYPE disk; | ||
+ | 3> BACKUP DATAFILE '/ | ||
+ | 4> } | ||
+ | </ | ||
+ | - ALLOCATE CHANNEL command with a RUN | ||
+ | - ALLOCATE CHANNEL FOR MAINTENANCE command | ||
+ | - 수동 채널 할당은 자동 채널 할당을 overwrite 한다. | ||
+ | |||
===== Channel Control Options ===== | ===== Channel Control Options ===== | ||
+ | |||
+ | ==== Configure paralllism ==== | ||
+ | < | ||
+ | |||
+ | |||
+ | ==== Specify the maximum backup piece size ==== | ||
+ | < | ||
+ | |||
+ | |||
+ | ==== Format the name of generated backup files ==== | ||
+ | < | ||
+ | RMAN> RUN { | ||
+ | 2> ALLOCATE CHANNEL d1 DEVICE TYPE DISK | ||
+ | 3> FORMAT '/ | ||
+ | 4> BACKUP DATABASE PLUS ARCHIVELOG; } | ||
+ | </ | ||
+ | |||
+ | |||
===== Summary ===== | ===== Summary ===== | ||
+ | * 정리해보면 | ||
+ | - RMAN Repository 와 Recovery Catalog 를 설명할 수 있다. | ||
+ | - **CONFIGURE** 를 이용하여 RMAN 기본설정을 변경할 수 있다. | ||
+ | - 자동 채널 할당을 실행할 수 있다. | ||
===== Practice Overview: Configuring RMAN ===== | ===== Practice Overview: Configuring RMAN ===== | ||