h2.Library Cache 구조
SQL>select namespace, gets, pins, reloads, invalidations
2 from v$librarycache;
NAMESPACE GETS PINS RELOADS INVALIDATIONS
--------------- ---------- ---------- ---------- -------------
SQL AREA 3189614 402276640 179713 103955
TABLE/PROCEDURE 360918 158745828 132155 0
BODY 39033 404917 1147 0
TRIGGER 19956 54524 175 0
INDEX 49673 413663 4879 0
CLUSTER 13621 40251 315 0
OBJECT 0 0 0 0
PIPE 0 0 0 0
JAVA SOURCE 0 0 0 0
JAVA RESOURCE 0 0 0 0
JAVA DATA 0 0 0 0
SQL>select child#, gets, misses, sleeps, immediate_gets, immediate_misses
2 from v$latch_children
3 where name='shared pool'
4 order by child#;
CHILD# GETS MISSES SLEEPS IMMEDIATE_GETS IMMEDIATE_MISSES
---------- ---------- ---------- ---------- -------------- ----------------
1 33837076 383726 3185 0 0
2 162 0 0 0 0
3 162 0 0 0 0
4 162 0 0 0 0
5 162 0 0 0 0
6 162 0 0 0 0
7 162 0 0 0 0