Rechercher dans le manuel MySQL
26.12.17 Performance Schema Summary Tables
[+/-]
- 26.12.17.1 Wait Event Summary Tables
- 26.12.17.2 Stage Summary Tables
- 26.12.17.3 Statement Summary Tables
- 26.12.17.4 Statement Histogram Summary Tables
- 26.12.17.5 Transaction Summary Tables
- 26.12.17.6 Object Wait Summary Table
- 26.12.17.7 File I/O Summary Tables
- 26.12.17.8 Table I/O and Lock Wait Summary Tables
- 26.12.17.9 Socket Summary Tables
- 26.12.17.10 Memory Summary Tables
- 26.12.17.11 Error Summary Tables
- 26.12.17.12 Status Variable Summary Tables
Summary tables provide aggregated information for terminated events over time. The tables in this group summarize event data in different ways.
Wait Event Summaries
events_waits_summary_by_account_by_event_name
: Wait events per account and event nameevents_waits_summary_by_host_by_event_name
: Wait events per host name and event nameevents_waits_summary_by_instance
: Wait events per instanceevents_waits_summary_by_thread_by_event_name
: Wait events per thread and event nameevents_waits_summary_by_user_by_event_name
: Wait events per user name and event nameevents_waits_summary_global_by_event_name
: Wait events per event name
Stage Summaries
events_stages_summary_by_account_by_event_name
: Stage events per account and event nameevents_stages_summary_by_host_by_event_name
: Stage events per host name and event nameevents_stages_summary_by_thread_by_event_name
: Stage waits per thread and event nameevents_stages_summary_by_user_by_event_name
: Stage events per user name and event nameevents_stages_summary_global_by_event_name
: Stage waits per event name
Statement Summaries
events_statements_histogram_by_digest
: Statement histograms per schema and digest value.events_statements_histogram_global
: Statement histogram summarized globally.events_statements_summary_by_account_by_event_name
: Statement events per account and event nameevents_statements_summary_by_digest
: Statement events per schema and digest valueevents_statements_summary_by_host_by_event_name
: Statement events per host name and event nameevents_statements_summary_by_program
: Statement events per stored program (stored procedures and functions, triggers, and events)events_statements_summary_by_thread_by_event_name
: Statement events per thread and event nameevents_statements_summary_by_user_by_event_name
: Statement events per user name and event nameevents_statements_summary_global_by_event_name
: Statement events per event nameprepared_statements_instances
: Prepared statement instances and statistics
Transaction Summaries
events_transactions_summary_by_account_by_event_name
: Transaction events per account and event nameevents_transactions_summary_by_host_by_event_name
: Transaction events per host name and event nameevents_transactions_summary_by_thread_by_event_name
: Transaction events per thread and event nameevents_transactions_summary_by_user_by_event_name
: Transaction events per user name and event nameevents_transactions_summary_global_by_event_name
: Transaction events per event name
Object Wait Summaries
objects_summary_global_by_type
: Object summaries
File I/O Summaries
file_summary_by_event_name
: File events per event namefile_summary_by_instance
: File events per file instance
Table I/O and Lock Wait Summaries
table_io_waits_summary_by_index_usage
: Table I/O waits per indextable_io_waits_summary_by_table
: Table I/O waits per tabletable_lock_waits_summary_by_table
: Table lock waits per table
Socket Summaries
socket_summary_by_instance
: Socket waits and I/O per instancesocket_summary_by_event_name
: Socket waits and I/O per event name
Memory Summaries
memory_summary_by_account_by_event_name
: Memory operations per account and event namememory_summary_by_host_by_event_name
: Memory operations per host and event namememory_summary_by_thread_by_event_name
: Memory operations per thread and event namememory_summary_by_user_by_event_name
: Memory operations per user and event namememory_summary_global_by_event_name
: Memory operations globally per event name
Error Summaries
events_errors_summary_by_account_by_error
: Errors per error code and accountevents_errors_summary_by_host_by_error
: Errors per error code and hostevents_errors_summary_by_thread_by_error
: Errors per error code and threadevents_errors_summary_by_user_by_error
: Errors per error code and userevents_errors_summary_global_by_error
: Errors per error code
Status Variable Summaries
status_by_account
: Status variables per accountstatus_by_host
: Status variables per host namestatus_by_user
: Status variables per user name
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
. Generally, 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. Exceptions to this truncation behavior are noted in
individual summary table sections.
Document created the 26/06/2006, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/mysql-rf-performance-schema-summary-tables.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.