Documentation Home
MySQL 5.7 Reference Manual
Related Documentation Download this Manual Excerpts from this Manual

MySQL 5.7 Reference Manual  /  ...  /  Performance Schema Summary Tables

21.9.14 Performance Schema Summary Tables

Summary tables provide aggregated information for terminated events over time. The tables in this group summarize event data in different ways.

Event Wait Summaries:

Stage Summaries:

Statement Summaries:

Transaction Summaries:

Object Wait Summaries:

File I/O Summaries:

Table I/O and Lock Wait Summaries:

Connection Summaries:

Socket Summaries:

Memory Summaries:

Status Variable Summaries:

  • status_by_account: Status variables summarized by account (added in MySQL 5.7.6)

  • status_by_host: Status variables summarized by host name (added in MySQL 5.7.6)

  • status_by_user: Status variables summarized by user name (added in MySQL 5.7.6)

Each summary table has grouping columns that determine how to group the data to be aggregated, and summary columns that contain the aggregated values. Tables that summarize events in similar ways often have similar sets of summary columns and differ only in the grouping columns used to determine how events are aggregated.

Summary tables can be truncated with TRUNCATE TABLE. Except for events_statements_summary_by_digest and the memory summary tables, the effect is to reset the summary columns to 0 or NULL, not to remove rows. This enables you to clear collected values and restart aggregation. That might be useful, for example, after you have made a runtime configuration change.

Download this Manual
User Comments
Sign Up Login You must be logged in to post a comment.