-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
None
-
None
-
None
-
None
-
None
-
None
-
None
When inserting an entry into the join plan cache, the plan cache will execute the first batch of the plan and measure the total num of reads by the leaf stages and total number of intermediate rows produced by the join operators as well as tracking spilling. This will be used to make a decision on (1) whether the query is worth caching (the goal is to cache "fast" queries only where optimization time is significant relative to execution time) and (2) whether to replan on cache hits
- depends on
-
SERVER-136566 Track intermediate rows and spills from SBE join stages in TrialRunTracker
-
- In Code Review
-
-
SERVER-136530 Update trial run tracker to track aggregate metrics and spill
-
- Closed
-
- is depended on by
-
SERVER-136739 Add finer-grained observability metrics for join plan cache replanning
-
- Backlog
-
-
SERVER-136740 Concurrency testing for join plan cache replanning
-
- Backlog
-
-
SERVER-136738 Perform a trial run on join plan cache hit and make replanning decision
-
- In Progress
-
- related to
-
SERVER-136742 Extend join plan cache replanning correctness testing
-
- Backlog
-