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
- is related to
-
SERVER-79736 Hash C++ data structures directly rather than building BSONObj
- Closed
- related to
-
SERVER-83217 Investigate QueryShapeHash alternatives to SHA-256
- Closed