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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.7.8
    • None
    • None
    • Fully Compatible
    • ALL

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: