[SERVER-53467] Investigate performance of $_internalUnpackBucket over BSON Created: 21/Dec/20  Updated: 29/Oct/23  Resolved: 10/Feb/21

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Eric Cox (Inactive) Assignee: Eric Cox (Inactive)
Resolution: Fixed Votes: 0
Labels: qexec-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-53486 Allow rewrite to push projections on ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2021-01-25, Query Execution 2021-02-22
Participants:

 Description   

The mutations required to materialize measurements from a time-series bucket don't involve any destructive operations. Theoretically, this means that the underlying Document's BSON is a straight copy of the bucket's BSON, and might lend itself to performance gains if $_internalUnpackBucket operates over raw BSON rather than Document.



 Comments   
Comment by Githook User [ 09/Feb/21 ]

Author:

{'name': 'Eric Cox', 'email': 'eric.cox@mongodb.com', 'username': 'ericox'}

Message: SERVER-53467 Investigate performance of $_internalUnpackBucket over BSON
Branch: master
https://github.com/mongodb/mongo/commit/e0303b45fcbef6882820212f3f724030ed4b9ccb

Comment by Eric Cox (Inactive) [ 27/Jan/21 ]

If we would like to commit microbenchmarks to mongo-perf that operate at the user-level by inserting measurements and then exercising $_internalUnpackBucket using a regular find command, we need to have support for pushing projections onto the include/exclude lists which will be completed in SERVER-53486.

Generated at Thu Feb 08 05:31:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.