RULE 732 365 82 0
RULESET 18358 17693 26 0
SCHEMA 0 0 0 0
SQL AREA 1252576540 1223849814 1430167 926624
SUBSCRIPTION 50182 49948 6 0
TABLE/PROCEDURE 162038767 161228629 429539 263
NAMESPACE PINS PINHITS RELOADS INVALIDATIONS
-------------------------------------------------------------------------- ---------- ---------- -------------
TEMPORARY INDEX 25602 0 7514 0
TEMPORARY TABLE 70046 0 55020 0
TRIGGER 12753767 12747803 1146 0
XDB CONFIG 1 0 0 0
XML SCHEMA 27 6 4 0
25 rows selected
SQL>
PINS:针对特定NAMESPACE的对象请求次数
PINHITS:针对特定NAMESPACE的对象请求次数,在库缓存中存在的次数
RELOADS:需要从磁盘中加载对象的次数
INVALIDATIONS:针对特定的namespace,由于依赖对象的改变而被标识为失败的对象的次数。
库缓存命中率的计算公式(sum(t1.PINHITS)/sum(pins)计算),例如:
SQL> select sum(t1.PINHITS)/sum(pins)"Lib Ratio" from v$librarycache t1;
LibRatio
----------
0.97973692
SQL>
也可以查询动态性能视图v$sgastat来获取共享池空闲内存的数量。例如:
SQL> select t1.* from v$sgastat t1 wheret1.NAME='free money' and pool='shared pool';
POOL NAME BYTES
------------ ------------------------------------
SQL>
看到awr报表中