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

Avoid getStats() and keep interval stages as children in NearStage

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.8
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL

      In NearStage, getStats() is expensive and should only be used in explain() and query plan cache. Instead, we should keep interval stages as children and only call getStats() on them when it's necessary.

            Assignee:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: