Supplemental logging이란 데이터에 DML이 발생할 경우 redo log에 추가적인 내용을 기록하여 복구에 도움이 되고자 할 때 설정해야 하는 기능.
# 약식 설정 및 확인
# 확인
select supplemental_log_data_min from v$database ;
# Database Level Supplemental log ENABLE
alter database add supplemental log data ;
# Database Level Supplemental log DISABLE
alter database drop supplemental log data ;
# Table Level Supplemental log ENABLE
alter table scott.emp add supplemental log data (all) columns ;
# Table Level Supplemental log DISABLE
alter table scott.emp drop supplemental log data (all) columns ;
# 상세 설정 옵션 및 확인
# 확인
select supplemental_log_data_min, supplemental_log_data_pk, supplemental_log_data_ui, supplemental_log_data_fk, supplemental_log_data_all from v$database ;
# 설정 옵션
-all columns
-primary key columns
-unique columns
-foreign key columns
# ENABLE
alter database add supplemental log data (all|primary key|unique|foreign key) columns ;
# DISABLE
alter database drop supplemental log data (all|primary key|unique|foreign key) columns ;
'ORACLE' 카테고리의 다른 글
Redo Log Group과 Member 관리 (0) | 2014.08.12 |
---|---|
LogMiner를 이용한 redo 로그 분석 (0) | 2014.08.12 |
High, Normal, Extgernal Redundancy 비교 (0) | 2014.08.11 |
Transportable Tablespaces - TTS (0) | 2013.07.31 |
Oracle 10g - SGA 사이즈 변경시 SGA 전체 메모리 크기보다 클 경우 spfile 복구 (0) | 2012.01.10 |