SELECT name, parameter1, parameter2, parameter3
FROM v$event_name
WHERE name = 'gc cr request';
NAME PARAMETER1 PARAMETER2 PARAMETER3
-----------------------------------------------------------------------
gc cr request file# block# class#
이중 Paramter3인 클래스는 그 타입에 따라 어떤 데이터 블록인지를 알려줌.
이것은 데이터 블록의 성격에 따라 문제를 해결하는 방법이 전혀 다를 수 있기 때문임.(병목지점확인)
클래스와 데이터블록
SELECT ROWNUM AS class#, class FROM v$waitstat; SELECT SEGMENT_NAME, SEGMENT_ID
, MIN(DECODE(HEADER_YN, 15, 2 * SEGMENT_ID + HEADER_YN)) UNDO_HEADER_BLOCK
CLASS# CLASS , MIN(DECODE(HEADER_YN, 16, 2 * SEGMENT_ID + HEADER_YN)) UNDO_BLOCK
-------- ------------------ FROM DBA_ROLLBACK_SEGS
1 data block , (SELECT 15 HEADER_YN FROM DUAL
2 sort block UNION ALL
3 save undo block SELECT 16 HEADER_YN FROM DUAL)
4 segment header GROUP BY SEGMENT_NAME, SEGMENT_ID
5 save undo header ORDER BY SEGMENT_NAME, SEGMENT_ID;
6 free list
7 extent map SEGMENT_NAME SEGMENT_ID UNDO_HEADER UNDO_BLOCK
8 1st level bmb ------------------------------ ----------- ----------- -----------
9 2nd level bmb SYSTEM 0 15 16
10 3rd level bmb _SYSSMU1$ 1 17 18
11 bitmap block _SYSSMU2$ 2 19 20
12 bitmap index block _SYSSMU3$ 3 21 22
13 file header block ...
14 unused
15 system undo header
16 system undo block
17 undo header
18 undo block