[SERVER-85873] Remove subsequent re-computation of unchanged BSONColumn data before stable anchor point Created: 29/Jan/24  Updated: 02/Feb/24

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Matt Kneiser Assignee: Henrik Edin
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-79411 Maintain the compression state in the... In Code Review
Assigned Teams:
Storage Execution
Sprint: Execution Team 2024-02-19
Participants:

 Description   

The current proposed callflow of calling BSONColumnBuilder::intermediate repeatedly on opened buckets both before and after new inserts (i.e. appends) leads to redundant compression computation on all bucket data prior to the stable anchor point returned by intermediate.

Consider storing the compression result of data prior to the stable anchor point so that subsequent calls to intermediate only compress 1-2 Simple8b blocks instead of the entire column.


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