v$event_histogram柱状图分析

 select event,wait_time_milli,wait_count from v$event_histogram where event = 'latch: shared pool';

 

SQL> /

EVENT                     WAIT_TIME_MILLI WAIT_COUNT
------------------------- --------------- ----------
latch: shared pool                      1     279009
latch: shared pool                      2      27979
latch: shared pool                      4      16220
latch: shared pool                      8       8848
latch: shared pool                     16       6704
latch: shared pool                     32       7977
latch: shared pool                     64       2158
latch: shared pool                    128        573
latch: shared pool                    256         76
latch: shared pool                    512         18

10 rows selected.

 

你可能感兴趣的:(sql)