The events_statements_history
Table
The events_statements_history
table contains the most recent 10 events per thread. The table size may be changed by modifying the performance_schema_events_statements_history_size
system variable at server startup. As new events are added to the table, older events are discarded if the table is full. Events are not added to the table until they have ended.
The events_statements_history
table has the same structure as events_statements_current
. See , "The events_statements_current
Table".
The events-statements-history
table can be truncated with TRUNCATE TABLE
.
The events_statements_history
table was added in MariaDB 5.6.3.