세션 커서에서 커서를 찾은 비율, 즉 세션 커서 캐시 히트율(Hit Ratio) 을 구하는 쿼리
1. 쿼리
select a.value "session cursor cache hits"
, b.value "total parse call count"
, round (a.value/b.value* 100, 2) "session cursor cache hits%"
from v$sysstat a, v$sysstat b
where a.name = 'session cursor cache hits'
and b.name = 'parse count (total)'
2. 결과
session cursor cache hits total parse call count session cursor cache hits%
------------------------- ---------------------- --------------------------
88745 115342 76.94
'DBMS > 오라클' 카테고리의 다른 글
snapshot too old 발생 가능성을 줄이는 법 (0) | 2018.07.27 |
---|---|
오라클 데이타 export script (0) | 2018.07.09 |
dictionary table 종류를 검색하는 쿼리 (0) | 2018.05.01 |
v$sql 을 사용해서 전체 시스템의 쿼리 수행 통계정보를 조회하는 쿼리 (0) | 2018.05.01 |
listener.ora , tnsname.ora sample file (0) | 2018.05.01 |