Report QuerySolution hash in slow query logs

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution, Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently we do report planSummary, but do not report QuerySolution hash in slow query logs. Reporting in slow query logs could help to easily understand what was the plan used, without checking the summary string.

      We could also make the hash stable, which would enable us to:

      • easily track the winning plan across restarts and shards
      • officially report it in explain (currently hidden under query knob by SERVER-108725)

            Assignee:
            Unassigned
            Reporter:
            Denis Grebennicov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: