1. trace 설정
begin
dbms_monitor.serv_mod_act_trace_enable(service_name=>'SYS$BACKGROUND',
module_name=>'MMON_SLAVE',
action_name=>'Auto-Purge Slave Action',
binds=>TRUE);
end;
/
2. trace 비활성화 및 trace gathering
begin
dbms_monitor.serv_mod_act_trace_disable(service_name=>'SYS$BACKGROUND',
module_name=>'MMON_SLAVE',
action_name=>'Auto-Purge Slave Action');
end;
/
and
alter session set events 'immediate trace name awr_test level 2';
alter session set events 'immediate trace name awr_test level 4'; --turns off all tracing.
'RDB > Oracle' 카테고리의 다른 글
awr 테이블 데이터 지우기 (0) | 2018.09.06 |
---|---|
awr auto purge runtime change (0) | 2018.09.04 |
awr 파티션 수동 재생성 (0) | 2018.08.31 |
oracle 12c json (0) | 2018.08.27 |
oracle 12c redact (0) | 2018.08.24 |