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

Log QuerySolution hash when final plan is chosen

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Query Optimization

    Description

      For improved debugability, let's log the hash (at log level 5) of the winning query solution when planning is finished. The log line that might fit best would be

      {msg: "Winning solution", "attr": {"bestSolution":"FETCH ... "}}
      

      we could add on the hash as an additional field.

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            matt.boros@mongodb.com Matt Boros
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: