Documentation Home
MySQL 5.7 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 35.1Mb
PDF (A4) - 35.2Mb
Man Pages (TGZ) - 256.4Kb
Man Pages (Zip) - 361.2Kb
Info (Gzip) - 3.4Mb
Info (Zip) - 3.4Mb
Excerpts from this Manual

25.12.3 Performance Schema Instance Tables

Instance tables document what types of objects are instrumented. They provide event names and explanatory notes or status information:

These tables list instrumented synchronization objects, files, and connections. There are three types of synchronization objects:cond,mutex, andrwlock. Each instance table has anEVENT_NAME orNAME column to indicate the instrument associated with each row. Instrument names may have multiple parts and form a hierarchy, as discussed inSection 25.6, “Performance Schema Instrument Naming Conventions”.

Themutex_instances.LOCKED_BY_THREAD_ID andrwlock_instances.WRITE_LOCKED_BY_THREAD_ID columns are extremely important for investigating performance bottlenecks or deadlocks. For examples of how to use them for this purpose, seeSection 25.19, “Using the Performance Schema to Diagnose Problems”