Open ldangeard-orange opened 6 years ago
Hey ldangeard-orange!
Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA.
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/156545900
The labels on this github issue will be updated when the story is started.
is it possible to integrate my PR? By default, the function performance_schema is not active, and therefore has no impact on the operation of the release.
hy, in the pxc-release, performance_schema variable system mysql is not set. With percona distribution, performance_schema is enable by default.
This PR optionally enables operators to enable performance_schema feature in MariaDB. This requires setting the
cf_mysql.mysql.performance_schema_enabled
property to true in mysql instance group (default is false)In MariaDB distribution , by default performance_schema is OFF since 10.0.12. See doc performance_schema
The performance_schema instrument flags (e.g.
performance_schema_max_file_handles
) are given sensible defaults based on Orange production usage (which sometimes slightly differ from mariadb defaults).Documentation mentions possible memory impact of turning on the feature and ways to measure it. We need to specifie the maximum number of few instruments to limit memory consumption under 125Mb (instead of 660Mb) with 1500 connections :
Background
The Performance Schema is a feature for monitoring server performance, see related mariadb documentation.
Performance_schema
database, consists of a number of tables that can be queried with regular SQL statements, returning specific performance information.Numerous community monitoring tools leverage the Performance Schema feature, such as :
This PR replaces #190