O'Reilly logo

MySQL 8 Cookbook by Karthik Appigatla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

performance_schema tables

There are five main types of table in performance_schema. They are current events tables, event history tables, event summary tables, object instances tables, and setup (configuration) tables:

mysql> SHOW TABLES LIKE '%current%';+------------------------------------------+| Tables_in_performance_schema (%current%) |+------------------------------------------+| events_stages_current                    || events_statements_current                || events_transactions_current              || events_waits_current                     |+------------------------------------------+4 rows in set (0.00 sec)mysql> SHOW TABLES LIKE '%history%';+------------------------------------------+| Tables_in_performance_schema (%history%) |+------------------------------------------+| events_stages_history ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required