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

Allow passing allowDiskUse when requesting an aggregation pipeline explainPlan

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Right now we don't support passing allowDiskUse to an aggregation pipeline explain plan, thus users are not able to see an accurate explain plan when an aggregation is complex enough that requires allowDiskUse (like sorting, heavily grouping and so on).

      More context on this Slack thread: https://mongodb.slack.com/archives/C0U7K0MC3/p1697798385936309

      It seems that there was already an effort to add allowDiskUse to the aggregate execution itself (see COMPASS-2722 linked to this task).

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.mas@mongodb.com Kevin Mas Ruiz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: