Quantcast
Channel: Planet MySQL
Viewing all articles
Browse latest Browse all 18766

The PERFORMANCE SCHEMA is dead, long live the performance schema

$
0
0

The PERFORMANCE SCHEMA is dead

The initial implementation of the performance schema used to name tables in the performance schema database in UPPERCASE, as in 'EVENTS_WAITS_CURRENT'.

This naming scheme turned up to be difficult to work with (see Bug#57609), especially considering the established MySQL practice of converting table names to lowercase, using the lower_case_table_names server setting.

Long live the performance schema

Starting with MySQL 5.5.8, the performance schema tables have been renamed to lowercase.

This guarantees that a query such as 'select * from performance_schema.events_waits_current' will work consistently across any server deployment, regardless of the server platform or the server lower_case_table_names configuration parameter.

Life for people or automated tools using the performance schema just became much easier ...

Marc Alff, Oracle.

PlanetMySQL Voting: Vote UP / Vote DOWN

Viewing all articles
Browse latest Browse all 18766

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>