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

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: