Bug #71888 | Improve performance_schema.host_cache documentation | ||
---|---|---|---|
Submitted: | 28 Feb 2014 16:07 | Modified: | 1 Nov 2018 16:14 |
Reporter: | Simon Mudd (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | 5.6.15 | OS: | Any |
Assigned to: | Paul DuBois | CPU Architecture: | Any |
Tags: | host_cache, performance_schema |
[28 Feb 2014 16:07]
Simon Mudd
[28 Feb 2014 16:21]
Simon Mudd
I bumped into bug#70552 which shows this particular table is dynamically configurable in size, so it's good to make this clear as other P_S settings are not. It's also clear now that I can just do set global host_cache_size = X to adjust the servers that needed this adjustment without having to shut them down. that is of course very good :-) So improved documentation will get us to this goal.
[28 Feb 2014 16:39]
Simon Mudd
Other settings are mentioned here: http://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_host_cache_size (but no reference to performance_schema). So it seems to me probably better to as with other variables document the default setting in this URL (as now) but then to document everything else in the first URL that I posted and link to that from the server-system-variables.html page.
[3 Mar 2014 8:12]
MySQL Verification Team
Hello Simon, Thank you for the bug report. Thanks, Umesh
[1 Nov 2018 16:14]
Paul DuBois
Posted by developer: Revised these sections to clarify that the host_cache table is linked to the host cache, that its size is controlled by host_cache_size, and that it can be resized dynamically: https://dev.mysql.com/doc/refman/8.0/en/host-cache-table.html https://dev.mysql.com/doc/refman/8.0/en/host-cache.html https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_host_cache_siz... re: "- it does not mention that you can check for entries being lost in the status variable Performance_schema_hosts_lost and if that value changes rapidly it may be worthwhile increasing the host_cache_size setting if you have an interest in collecting connection metrics of the hosts concerned." That status variable corresponds to the host table, not the host_cache table. re: "Please provide an indication of memory consumption of this table per entry." No action taken. Internal implementation issue that is subject to change any time.