Bug #87265 | High memory consumption by Mysql when performance schema is enabled | ||
---|---|---|---|
Submitted: | 1 Aug 2017 2:59 | Modified: | 8 Sep 2017 12:01 |
Reporter: | Shrinivasa rao | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Performance Schema | Severity: | S2 (Serious) |
Version: | 5.7.14 | OS: | Red Hat (7.3) |
Assigned to: | CPU Architecture: | Any | |
Tags: | Memory, performance_schema |
[1 Aug 2017 2:59]
Shrinivasa rao
[1 Aug 2017 11:08]
Peter Laursen
I reported this myself: https://bugs.mysql.com/bug.php?id=69490 It is the 'max_connections' setting that matter most. A buffer for each possible connection will be reserved at server startup. I also think this is fixed in 8.x so that it will only allocate the buffer when a connection is created (or something like that) -- Peter -- not a MySQL/Oracle person
[1 Aug 2017 11:09]
Peter Laursen
.. but your problem looks different though.
[2 Aug 2017 5:36]
MySQL Verification Team
Please try 5.7.19 where this is fixed. Bug 25080442 : PARTITIONED TABLES USE MORE MEMORY IN 5.7 THAN 5.6
[2 Aug 2017 5:45]
MySQL Verification Team
Also in your my.cnf, please set this : performance_schema_max_file_instances=10000
[2 Aug 2017 5:50]
MySQL Verification Team
And also send us a few outputs of SHOW ENGINE PERFORMANCE_SCHEMA STATUS; when memory is rising..
[6 Aug 2017 15:45]
Shrinivasa rao
Hey Shane, We have currently disabled performance schema. If this is a known issue and is fixed in 5.7.19, then we will test and update.
[9 Sep 2017 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".