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查询v$event_histogram,获取了'latch: shared pool'事件的等待时间分布,显示等待时间从1毫秒到512毫秒的情况,详细列出了各等待时间对应的等待次数。
794

被折叠的 条评论
为什么被折叠?



