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

Lazily calculate QuerySolution hash for SBE

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Performance
    • Query Execution

    Description

      The SBE getExecutor path calculates QSN hashes early. These are used in the plan explainer. However we still have the QSN in the plan explainer, so we could lazily calculate the hash to avoid wasted work in the non-explain path.

      I'm guessing the perf improvement is small, but still good to do for cleanliness and avoiding "death by a thousand cuts" pattern we see in perf charts.

       

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            matt.boros@mongodb.com Matt Boros
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: