Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-8263

Do not use allPlansExecution verbosity for explain

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.44.4
    • Affects Version/s: None
    • Component/s: Explain
    • None
    • Developer Tools
    • Not Needed

      Today, we default to using allPlansExecution verbosity for explain commands. This leads to unnecessary computation on users' databases. This was added as the default verbosity when Explain got added for

      color: Color value is invalid

      aggregations, but it doesn't seem like there was a particular reason for this. We default here: https://github.com/mongodb-js/compass/blob/86716165f565cd93ea97eccdfc58e5410b0885c5/packages/data-service/src/data-service.ts#L1875

      Relevant slack thread: https://mongodb.slack.com/archives/C0U7K0MC3/p1725640332048689 

            Assignee:
            basit.chonka@mongodb.com Basit Chonka
            Reporter:
            elizabeth.button@mongodb.com Betsy Button
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: