MySQL has introduced the PERFORMANCE_SCHEMA
(P_S) in MySQL
5.5 and made it really usable in MySQL 5.6 and added some
enhancements in MySQL 5.7 and 8.0.
Unfortunately the PERFORMANCE_SCHEMA
was not really
intuitive for the broader audience. Thus Mark Leith created the
sys
Schema for an easier access
for the normal DBA and DevOps and Daniel Fischer has enhanced it
further. Fortunately the sys
Schema up to version
1.5.1 is available on GitHub.
So we can adapt and use it for MariaDB as well. The version of
the sys
Schema in MySQL 8.0 is 1.6.0 and seems not
to be on GitHub yet. But you can extract it from the MySQL 8.0
directory structure: …