-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Storage Execution
The SharedBufferFragmentBuilder is designed to be a per-thread memory pool for allocating temporary buffers.
It does so using an atomically reference counted SharedBuffer. This shows up around 2% of the time spent building an index.
Since this builder is designed to be used in a single-threaded context, we should consider redesigning this builder to not share ownership if possible.