MySQL Performance Schema

Abstract

This is the MySQL Performance Schema extract from the MySQL 5.6 Reference Manual.

For legal information, see the Legal Notices.

For help with using MySQL, please visit either the MySQL Forums or MySQL Mailing Lists, where you can discuss your issues with other MySQL users.

For additional documentation on MySQL products, including translations of the documentation into other languages, and downloadable versions in variety of formats, including HTML and PDF formats, see the MySQL Documentation Library.

Licensing information—MySQL 5.6.  This product may include third-party software, used under license. If you are using a Commercial release of MySQL 5.6, see this document for licensing information, including licensing information relating to third-party software that may be included in this Commercial release. If you are using a Community release of MySQL 5.6, see this document for licensing information, including licensing information relating to third-party software that may be included in this Community release.

Licensing information—MySQL Cluster.  This product may include third-party software, used under license. If you are using a Commercial release of MySQL Cluster NDB 7.3 or NDB 7.4, see this document for licensing information, including licensing information relating to third-party software that may be included in this Commercial release. If you are using a Community release of MySQL Cluster NDB 7.3 or NDB 7.4, see this document for licensing information, including licensing information relating to third-party software that may be included in this Community release.

Document generated on: 2016-08-12 (revision: 48538)


Table of Contents

Preface and Legal Notices
1 MySQL Performance Schema
2 Performance Schema Quick Start
3 Performance Schema Configuration
3.1 Performance Schema Build Configuration
3.2 Performance Schema Startup Configuration
3.3 Performance Schema Runtime Configuration
3.3.1 Performance Schema Event Timing
3.3.2 Performance Schema Event Filtering
3.3.3 Event Pre-Filtering
3.3.4 Naming Instruments or Consumers for Filtering Operations
3.3.5 Determining What Is Instrumented
4 Performance Schema Queries
5 Performance Schema Instrument Naming Conventions
6 Performance Schema Status Monitoring
7 Performance Schema General Table Characteristics
8 Performance Schema Table Descriptions
8.1 Performance Schema Table Index
8.2 Performance Schema Setup Tables
8.2.1 The setup_actors Table
8.2.2 The setup_consumers Table
8.2.3 The setup_instruments Table
8.2.4 The setup_objects Table
8.2.5 The setup_timers Table
8.3 Performance Schema Instance Tables
8.3.1 The cond_instances Table
8.3.2 The file_instances Table
8.3.3 The mutex_instances Table
8.3.4 The rwlock_instances Table
8.3.5 The socket_instances Table
8.4 Performance Schema Wait Event Tables
8.4.1 The events_waits_current Table
8.4.2 The events_waits_history Table
8.4.3 The events_waits_history_long Table
8.5 Performance Schema Stage Event Tables
8.5.1 The events_stages_current Table
8.5.2 The events_stages_history Table
8.5.3 The events_stages_history_long Table
8.6 Performance Schema Statement Event Tables
8.6.1 The events_statements_current Table
8.6.2 The events_statements_history Table
8.6.3 The events_statements_history_long Table
8.7 Performance Schema Connection Tables
8.7.1 The accounts Table
8.7.2 The hosts Table
8.7.3 The users Table
8.8 Performance Schema Connection Attribute Tables
8.8.1 The session_account_connect_attrs Table
8.8.2 The session_connect_attrs Table
8.9 Performance Schema Summary Tables
8.9.1 Event Wait Summary Tables
8.9.2 Stage Summary Tables
8.9.3 Statement Summary Tables
8.9.4 Object Wait Summary Table
8.9.5 File I/O Summary Tables
8.9.6 Table I/O and Lock Wait Summary Tables
8.9.7 Connection Summary Tables
8.9.8 Socket Summary Tables
8.10 Performance Schema Miscellaneous Tables
8.10.1 The host_cache Table
8.10.2 The performance_timers Table
8.10.3 The threads Table
9 Performance Schema and Plugins
10 Performance Schema System Variables
11 Performance Schema Status Variables
12 Using the Performance Schema to Diagnose Problems
12.1 Query Profiling Using Performance Schema