Bug #71670 | InnoDB monitor output written every 20s, not every 15s as the manual says | ||
---|---|---|---|
Submitted: | 11 Feb 2014 12:46 | Modified: | 11 Feb 2014 15:31 |
Reporter: | Hartmut Holzgraefe | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 5.5.30, 5.6.15 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[11 Feb 2014 12:46]
Hartmut Holzgraefe
[11 Feb 2014 12:49]
Hartmut Holzgraefe
While this is mostly a cosmetic issue it becomes more "interesting" when monitoring becomes auto-enabled, e.g. due to long semaphore waits: InnoDB: ###### Starts InnoDB Monitor for 30 secs to print diagnostic info: Here a true 15s sample interval would cause to monitor output snapshots being written, but with 20s intervals there is only one output event triggered within the 30s interval instead of two ...
[11 Feb 2014 15:31]
MySQL Verification Team
Indeed, Hartmut's calculus is truly correct. If we are checking for the elapsed time that is greater then 15 seconds, and it it incremented in 5 seconds units, then the output is written every 20 seconds. It remains to be decided whether to change code or documentation.