Bug #74574 | Defaults for performance_schema statements history not clear | ||
---|---|---|---|
Submitted: | 26 Oct 2014 18:54 | Modified: | 4 Dec 2014 15:29 |
Reporter: | Daniël van Eeden (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | 5.6 | OS: | Any |
Assigned to: | Paul DuBois | CPU Architecture: | Any |
Tags: | defaults, performance_schema |
[26 Oct 2014 18:54]
Daniël van Eeden
[27 Oct 2014 4:41]
MySQL Verification Team
Hello Daniël, Thank you for the report. Thanks, Umesh
[1 Dec 2014 15:59]
Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly. Same issue affected the descriptions for several other tables as well. Corrected those, too.
[4 Dec 2014 6:52]
Daniël van Eeden
The documentation now clearly states it's autosized, but doesn't give any information about how the sizing is done. estimate_hints() in storage/perfschema/pfs_autosize.cc seems to do this: if max_connections, table_open_cache and table_definition_cache are equal or lower than the defaults: statements = 5 statements_long = 100 stages = 5 stages_long = 100 events = 5 events_long = 100 if max_connections, table_open_cache and table_definition_cache are equal or lower than the defaults x 2: statements = 10 statements_long = 1000 stages = 10 stages_long = 1000 events = 10 events_long = 1000 else: statements = 10 statements_long = 10000 stages = 10 stages_long = 10000 events = 10 events_long = 10000 and then apply_heuristic() is used to do some corrections.
[4 Dec 2014 15:29]
Paul DuBois
And it's not going to give the details. Those can change at any time, and a user who wants to override the autosize value can easily do so.