Exafusion Direct-to-Wire Protocol은 RAC 환경에서 OS와 네트워크 계층을 우회하여 인스턴스 간에 직접 메시지를 보내고 받을 수 있는 Exadata 전용 프로토콜입니다. Oracle 21c부터 Cache Fusion에 대한 RDMA 지원이 확장되어 데이터 블록, 공간 블록, 언두 헤더 블록에 대한 읽기를 지원합니다.
gc cr block direct read, gc current block direct read 대기 이벤트로 Exafusion Direct-to-Wire Protocol의 동작 여부를 판단할 수 있습니다. 아래 쿼리의 결과에서 gc cr block 2-way 대기 이벤트의 평균 대기 시간이 0.15ms인 반면 gc cr block direct read 대기 이벤트의 평균 대기 시간은 8.44us인 것을 볼 수 있습니다.
-- 1
SELECT event
, total_waits
, time_waited_micro
, ROUND (time_waited_micro / total_waits, 2) AS avg_waits
FROM v$system_event
WHERE event IN (
'gc cr block 2-way'
, 'gc cr block 3-way'
, 'gc cr block direct read'
, 'gc current block 2-way'
, 'gc current block 3-way'
, 'gc current block direct read'
)
ORDER BY event;
EVENT TOTAL_WAITS TIME_WAITED_MICRO AVG_WAITS
---------------------------- ----------- ----------------- ----------
gc cr block 2-way 199216 29720439 149.19 --> 0.15ms
gc cr block direct read 2339003 19751012 8.44 --> 8.44us
gc current block 2-way 388030 44333200 114.25 --> 0.11ms
gc current block direct read 385380 3661325 9.50 --> 9.50us
4 rows selected.
관련 링크