-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
Most of this code is for the Bonsai optimizer, which is now unused and untested. We should simplify the code base by deleting it. Note that there are some pieces that need to be moved elsewhere and preserved – this includes at least the PolyValue and ABT code, since I believe some of this is used by the SBE stage builders.
Note that related ticket SERVER-92832 proposes creating a db/query/planner/ directory which is where the majority of the QO code is expected to live.
- depends on
-
SERVER-93619 Remove SBENodeLowering dependencies on optimizer Metadata
-
- Closed
-
- is depended on by
-
SERVER-93542 Move query_sbe_abt library to stage_builders/ directory
-
- Needs Scheduling
-
- is related to
-
SERVER-92832 Create db/query/planner subdirectory
-
- Open
-
-
SERVER-93826 Remove SBE ABT lowering dependency on Logical/Physical Props
-
- Closed
-
- related to
-
SERVER-93155 Remove entry points into bonsai based plan executor
-
- Closed
-
- split to
-
SERVER-93167 Audit tests in query/optimizer/optimizer_test.cpp
-
- Open
-
-
SERVER-93177 Remove Bonsai specific CanonicalQuery plan cache encoding
-
- Open
-
-
SERVER-93183 Delete queryPlannerDebug explain verbosity
-
- Open
-
-
SERVER-93310 Delete jstests/libs/optimizer_utils.js
-
- Open
-
-
SERVER-93311 Delete featureFlagCommonQueryFramework
-
- Open
-
-
SERVER-93315 Delete src/mongo/db/query/framework_control.cpp
-
- Open
-
-
SERVER-93663 Delete OptimizerCounterInfo
-
- Open
-
-
SERVER-93666 Audit query/ce/ and query/cost_model/ directories for dead code
-
- Open
-
-
SERVER-93815 Delete Cascades related query knobs
-
- Open
-
-
SERVER-93809 Delete LogicalProps and PhysicalProps
-
- In Code Review
-
-
SERVER-93828 Delete PartialSchemaRequirements
-
- In Progress
-
-
SERVER-93164 Remove Bonsai related code from PlanExecutor
-
- Closed
-
-
SERVER-93309 Remove references to BonsaiEligibility
-
- Closed
-
-
SERVER-93366 Delete uses and definition of OptPhaseManager
-
- Closed
-
-
SERVER-93368 Delete sbe_abt_test_util library and uses
-
- Closed
-
-
SERVER-93664 Delete Cascades/memo-based rewrites
-
- Closed
-
-
SERVER-93687 Delete CQF jstests
-
- Closed
-
-
SERVER-93688 Delete Bonsai Cost Model
-
- Closed
-
-
SERVER-93807 Delete Metadata and MetadataFactory
-
- Closed
-
-
SERVER-93808 Delete SargableNode
-
- Closed
-
-
SERVER-93810 Delete MemoLogicalDelegatorNode and MemoPhysicalDelegatorNode
-
- Closed
-
-
SERVER-93811 Delete SamplingConstEval
-
- Closed
-