22.10.6.1 The events_statements_current Table

As of MySQL 5.6.3, the events_statements_current table contains current statement events, one row per thread showing the current status of the thread's most recent monitored statement event.

Of the tables that contain statement event rows, events_statements_current is the most fundamental. Other tables that contain statement event rows are logically derived from the current events. For example, the events_statements_history and events_statements_history_long tables are collections of the most recent statement events, up to a fixed number of rows.

For information about configuration of statement event collection, see Section 22.10.6, “Performance Schema Statement Event Tables”.

The events_statements_current table has these columns:

TRUNCATE TABLE is permitted for the events_statements_current table. It removes the rows.