-
Type: Improvement
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
QO 2024-08-19, QO 2024-09-02, QO 2024-09-16, QO 2024-09-30
-
(copied to CRM)
SERVER-32943 improved the timing of flushing the plan cache when building an index in the background. The associated test seems to indicate that the change addresses the case where the concurrent query finishes prior to the completion of the index build.
There is another case that is presently not addressed. This would be when the query that gets replanned starts while the index build is still in progress but finishes after the index build completes. This situation can result in a suboptimal plan in the cache as described in the previous ticket requiring a manual flush of the plan cache. We should consider preventing those concurrent operations from caching or pursuing some other mitigation technique.
- is related to
-
SERVER-32943 Query during background index build can lead to suboptimal cached plan
- Closed