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

aggregation: use a string table to reduce field name storage when using aggregation

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • Labels:
      None

      As an optimization, we can reduce the amount of allocated memory used by sharing the field name strings across all documents re-ified at the beginning of the aggregation pipeline. The string table can be put into the nascent ExpressionContext (we need to make sure that's available everywhere necessary). Every time we reify a document, use the strings in the string table, or add any missing ones.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: