HeeLee_DBA
Oracle - SQL Monitor Active Report 본문
반응형
-- SQL Monitor Active Report 뽑기
1. SQL_ID 추출 후
2. 아래 실행(특정 쿼리 SQL Monitor Active Report)
SPOOL /tmp/long_sql.htm
SELECT DBMS_SQL_MONITOR.REPORT_SQL_MONITOR(sql_id => ' ' , report_level => 'ALL', TYPE => 'active') FROM DUAL;
SPOOL OFF
추출완료
1. SQL_ID 추출 후
2. 아래 실행(특정 쿼리 SQL Monitor Active Report)
SPOOL /tmp/long_sql.htm
SELECT DBMS_SQL_MONITOR.REPORT_SQL_MONITOR(sql_id => ' ' , report_level => 'ALL', TYPE => 'active') FROM DUAL;
SPOOL OFF
추출완료
반응형
'Oracle' 카테고리의 다른 글
Oracle - version_count 증가로 인한 shared_pool 부족 문제 (0) | 2024.08.21 |
---|---|
ORA-12805: parallel query server died unexpectedly (0) | 2023.02.07 |
ORA-603 (skgxpvfynet: mtype: 61 process 24645 failed because of a resource problem in the OS) (0) | 2022.11.24 |
ORA-00600 내부 오류코드 kdsgrp1 (3) | 2022.11.18 |
Oracle - 슬로우 쿼리(Slow Query) 조회 쿼리 (3) | 2022.10.26 |