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

Investigate improvements to $changeStreamSplitLargeEvent memory usage

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution

      There may be some remaining opportunities to optimize the performance of $changeStreamSplitLargeEvent in terms of memory usage and serialization time; for instance, by releasing documents instead of holding references to them, and building the fragments directly as BSONObjs. The counterargument is that generally, stages in an agg pipeline should operate only in terms of Document/Value and should not be responsible for managing or fine-tuning the the backing BSON. Perhaps, given that this stage is already tied closely to the BSON representation, it should be an exception to this rule.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            bernard.gorman@mongodb.com Bernard Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: