The events_waits_history_long
table contains the most recent 10,000 wait events. To change
the table size, modify the
performance_schema_events_waits_history_long_size
system variable at server startup. Wait events are not added
to the table until they have ended. As new events are added,
older events are discarded if the table is full. When a thread
ends, its rows are removed from the table.
The events_waits_history_long
table has the same structure as
events_waits_current. See
Section 22.8.4.1, “The events_waits_current Table”.
TRUNCATE TABLE is permitted for
the events_waits_history_long
table. It removes the rows.
For information about configuration of wait event collection, see Section 22.8.4, “Performance Schema Wait Event Tables”.