Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-69104

Avoid repeated creation of ColumnStoreEncoder

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible

      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).

            Assignee:
            justin.seyster@mongodb.com Justin Seyster
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: