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

Compute QueryShapeHash from QueryShape without full serialization

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2023-12-25, QE 2024-01-08

    Description

      Currently QueryShapeHash (256 bits) as is used by the Query Settings, can only be computed once QueryShape is fully serialized into BSON.

      This ticket should investigate the implementation of QueryShapeHash computation without full serialization, but rather through computing the hash of individual shape components and then combining it into the QueryShapeHash value.

       

      Futhermore, even if absl hash is used, we may avoid generating the QueryShape and go for QueryShapeHash directly, in order to gain additional performance

      Attachments

        Activity

          People

            denis.grebennicov@mongodb.com Denis Grebennicov
            denis.grebennicov@mongodb.com Denis Grebennicov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: