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

Cache the hash of the client metadata to speed up query stats computation

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • None
    • Query Integration
    • Fully Compatible

    Description

      For some of our smallest/quickest queries the client metadata is actually a big portion of the query stats store key, and we recompute the hash on every query to detect whether we've seen it before. The Client object lives as long as the client connection, so we should only need to compute this hash once per Client - which should be a lot more performant.

      Attachments

        Activity

          People

            alyssa.clark@mongodb.com Alyssa Clark
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: