-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
None
-
Fully Compatible
-
Query Optimization 2021-02-22, Query Optimization 2021-03-08
Various agg stages are subject to internal limits, defined as setParameters in query_knobs.idl. alex.bevilacqua would find it useful if these values were reported in agg explain. Since these are static settings rather than runtime stats, I think they would be reported at any explain verbosity level ("queryPlanner", "executionStats", or "allPlansExecution").
In particular, exposing at least following would be useful:
- internalQueryFacetBufferSizeBytes
- internalLookupStageIntermediateDocumentMaxSizeBytes
- internalDocumentSourceGroupMaxMemoryBytes
Before scheduling this ticket, we should choose the exact set of knobs we want to expose in explain, and we should choose the names with which we want to expose them.
- is related to
-
SERVER-70327 Add internalQueryFrameworkControl to explain 'serverParameters' list
- Closed
-
SERVER-21784 Track 'nReturned' and 'executionTimeMillis' execution stats for each aggregation pipeline stage and expose via explain
- Closed
- related to
-
SERVER-48380 Expose total data size in bytes processed by $sort and $group in agg execution stats explain
- Closed