Tables in the
performance_schema database can
be grouped as follows:
Setup tables. These tables are used to configure and display monitoring characteristics.
Current events tables. The
contains the most recent event for each thread. Other similar
tables contain current events at different levels of the event
for stage events, and
History tables. These tables have the same structure as the
current events tables, but contain more rows. For example, for
table contains the most recent 10 events per thread.
contains the most recent 10,000 events. Other similar tables
exist for stage and statement histories.
To change the sizes of the history tables, set the appropriate
system variables at server startup. For example, to set the
sizes of the wait event history tables, set
Summary tables. These tables contain information aggregated over groups of events, including those that have been discarded from the history tables.
Instance tables. These tables document what types of objects are instrumented. An instrumented object, when used by the server, produces an event. These tables provide event names and explanatory notes or status information.
Miscellaneous tables. These do not fall into any of the other table groups.