[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: |
|
||||||||
| 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. |