[SERVER-69104] Avoid repeated creation of ColumnStoreEncoder Created: 23/Aug/22  Updated: 29/Oct/23  Resolved: 02/Sep/22

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

Type: Task Priority: Major - P3
Reporter: Ian Boros Assignee: Justin Seyster
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-69105 Achieve column index performance acce... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

We see a lot of time spent in translateCell(). This is called once per cell, per document, and it creates a new ColumnStoreEncoder which has a large-ish stack buffer. We should try making one ColumnStoreEncoder and using that throughout the getNext() (or maybe throughout the whole stage's lifetime).



 Comments   
Comment by Githook User [ 01/Sep/22 ]

Author:

{'name': 'Justin Seyster', 'email': 'justin.seyster@mongodb.com', 'username': 'jseyster'}

Message: SERVER-69104 Avoid repeated creation of ColumnStoreEncoder
Branch: master
https://github.com/mongodb/mongo/commit/8de369efe3fb47e15000f6a8af722b53911392e6

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