Lazily calculate QuerySolution hash for SBE

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: Performance
    • Query Execution
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

       

            Assignee:
            Evan Bergeron
            Reporter:
            Matt Boros
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: