db name db id instance inst num release cluster host ------------ ----------- ------------ -------- ----------- ------- ------------ pormals 3874352951 pormals 1 9.2.0.4.0 no njlt-server1
snap id snap time sessions curs/sess comment ------- ------------------ -------- --------- ------------------- begin snap: 36 18-7月 -04 20:41:02 29 19.2
quote:instance efficiency percentages (target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buffer nowait %: 100.00 redo nowait %: 100.00 buffer hit %: 99.96 in-memory sort %: 99.14 library hit %: 99.53 soft parse %: 99.57 execute to parse %: -102.31 latch hit %: 100.00 parse cpu to parse elapsd %: 81.47 % non-parse cpu: 96.46
說明: buffer nowait %:在緩沖區中獲取buffer的未等待比率 redo nowait %:在redo緩沖區獲取buffer的未等待比率 buffer hit %:數據塊在數據緩沖區中得命中率,通常應在90%以上,否則,需要調整 in-memory sort %:在內存中的排序率 library hit %:主要代表sql在共享區的命中率,通常在95%以上,否,需要要考慮加 大共享池,綁定變量,修改cursor_sharing等參數。 soft parse %:近似看作sql在共享區的命中率,小于<95%,需要考慮到綁定,如果低于80%, 那么就可能sql基本沒有被重用 execute to parse %:sql語句解析后被重復執行的次數,如果過低,可以考慮設置 session_cached_cursors參數 parse cpu to parse elapsd %:解析實際運行事件/(解析實際運行時間+解析中等待資源時間) 越高越好 % non-parse cpu:查詢實際運行時間/(查詢實際運行時間+sql解析時間),太低表示解析消耗時間過多。
quote:shared pool statistics begin end ------ ------ memory usage %: 33.79 57.02 % sql with executions>1: 62.62 73.24 % memory for sql w/exec>1: 64.55 78.72