Done
Details
Assignee
UnassignedUnassignedReporter
lpjirasynclpjirasync(Deactivated)Labels
Priority
Low
Details
Details
Assignee
Unassigned
UnassignedReporter
lpjirasync
lpjirasync(Deactivated)Labels
Priority
Smart Checklist
Smart Checklist
Smart Checklist
Created January 22, 2018 at 3:04 PM
Updated April 17, 2018 at 8:37 AM
Resolved January 22, 2018 at 3:04 PM
**Reported in Launchpad by Ryan Lowe last update 25-06-2012 04:43:03
The I_S tables are only updated with metrics when a table handle is closed (not handed back to the table cache). This means that well-tuned instances of MySQL can encounter situations where the stats don't get updated!!! I see 2 solutions to this:
1 - Update the documentation to reflect in order to get a consistent read, you must issue FLUSH TABLES.
2 - Change the call to update statistics when a table handle is passed back to the cache.
The problem with #2 is if I have an instance with no table cache, the stats may never get updated.
– Ryan Lowe