[SERVER-82809] Do not attempt to simplify trivially simple expressions. Created: 06/Nov/23  Updated: 06/Nov/23  Resolved: 06/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Alexander Ignatyev Assignee: Alexander Ignatyev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Participants:
Linked BF Score: 7

 Description   

The simplifier has a minimal overhead around 750 ns, which is noticeable for simple queries on small one index collections, such as the collections in YCSB.



 Comments   
Comment by Githook User [ 06/Nov/23 ]

Author:

{'name': 'Alexander Ignatyev', 'email': 'alexander.ignatyev@mongodb.com', 'username': 'aligusnet'}

Message: SERVER-82809 Do not attempt to simplify trivially simple expressions

The overhead of the simplifier becomes significant when processing high-throughput loads with very simple expressions.
Branch: master
https://github.com/mongodb/mongo/commit/65fb099b7283e54c42a8c16363472c4371ea1901

Generated at Thu Feb 08 06:50:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.