Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-48378

Expose settings of query knobs in agg explain output

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Aggregation Framework
    • None
    • Fully Compatible
    • Query Optimization 2021-02-22, Query Optimization 2021-03-08

    Description

      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.

      Attachments

        Activity

          People

            timour.katchaounov@mongodb.com Timour Katchaounov
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: