Do not need to use atomically ref-counted buffer for SharedBufferFragment

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: