문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 마지막 판 양쪽 다음 판 | ||
study:oracle:10gadminii:configuringrecoverymanager [2008/03/23 01:41] starlits |
study:oracle:10gadminii:configuringrecoverymanager [2008/03/23 02:03] starlits |
||
---|---|---|---|
줄 171: | 줄 171: | ||
- 위치 : **Maintenance** -> **Configure Backup Settings** | - 위치 : **Maintenance** -> **Configure Backup Settings** | ||
+ | |||
===== Control File Autobackups ===== | ===== Control File Autobackups ===== | ||
+ | |||
+ | - 콘트롤파일 자동백업 < | ||
+ | - 콘트롤파일 자동백업 기본 포멧 변경 < | ||
+ | CONFIGURE CONTROLFILE AUTOBACKUP FORMAT | ||
+ | FOR DEVICE TYPE DISK TO '/ | ||
+ | </ | ||
===== Retention Policies ===== | ===== Retention Policies ===== | ||
+ | |||
===== Managing Persistent Settings ===== | ===== Managing Persistent Settings ===== | ||
+ | |||
+ | ==== 현재 상태 보기 (SHOW) ==== | ||
+ | |||
+ | < | ||
+ | RMAN> SHOW CONTROLFILE AUTOBACKUP FORMAT; | ||
+ | RMAN> SHOW EXCLUDE; | ||
+ | RMAN> SHOW ALL; | ||
+ | </ | ||
+ | |||
+ | ==== 지속적인 재설정 (CLEAR) - 기본값 ==== | ||
+ | < | ||
+ | RMAN> CONFIGURE BACKUP OPTIMIZATION CLEAR; | ||
+ | RMAN> CONFIGURE MAXSETSIZE CLEAR; | ||
+ | RMAN> CONFIGURE DEFAULT DEVICE TYPE CLEAR; | ||
+ | </ | ||
===== Channel Allocation ===== | ===== Channel Allocation ===== | ||
{{study: | {{study: | ||
+ | |||
+ | - 채널은 device type에 대한 단일 데이타 스트림을 나타낸다. | ||
+ | - 채널은 반드시 백업, 복구명령을 실행하기 전에 할당되어 있어야 한다. | ||
+ | - 할당된 각 채널은 해당 인스턴스에서 Sever Sessions을 시작하여 RMAN executable 에서 Auxiliary Database로 접속을 설정한다. | ||
+ | - 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 ===== | ||