Hello,
The newly added idle wait events is erroneously included in the “Top 5 Timed Events” section in 12.2 or later:
Top 5 Timed Events Avg %Total
~~~~~~~~~~~~~~~~~~ wait Call
Event Waits Time (s) (ms) Time
—————————————– ———— ———– ———– ——
Data Guard: Timer 8 4,800 600,000.97 33.3 <<== Idle event
pman timer 1,548 4,644 2,999.89 32.2 <<== Idle event
Data Guard: Gap Manager 77 4,620 60,000.57 32.0 <<== Idle event
log file sync 38,168 250 6.55 1.7
CPU time 56 .4
This is due to following bug:
Bug 28523746 – STATSPACK: TOP 5 TIMED EVENTS CONTAINS IDLE WAIT EVENTS
Bug 31397022 – STATSPACK:IDLE WAIT EVENTS MISSING IN STATS$IDLE_EVENT
A new idle wait event is missing in perfstat.STATS$IDLE_EVENT.
For the solution; Add missing idle event rows manually into STATS$IDLE_EVENT table.
connect perfstat/<PASSWORD>
insert into stats$idle_event select name from v$event_name where wait_class='Idle'
minus
select event from stats$idle_event;
commit;