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

Compute QueryShapeHash from QueryShape without full serialization

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • QE 2023-12-25, QE 2024-01-08
    • 169

      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

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

              Created:
              Updated:
              Resolved: