Done
Details
Details
Assignee
Unassigned
UnassignedReporter
lpjirasync
lpjirasync(Deactivated)Upstream Bug URL
Fix versions
Priority
Smart Checklist
Smart Checklist
Created January 23, 2018 at 4:16 PM
Updated December 19, 2023 at 7:47 AM
Resolved January 23, 2018 at 4:16 PM
**Reported in Launchpad by Sveta Smirnova last update 17-11-2017 11:00:23
Description:
Under concurrent environment running ANALYZE TABLE could lead to situation when hundreds of tables are in state "Waiting for table flush".
How to repeat:
Read https://www.percona.com/blog/2013/02/27/mysql-optimizer-analyze-table-and-waiting-for-tabl...
Suggested fix:
Implement new type of lock which holds statistics only and release it immediately after Optimizer creates execution plan.