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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • None
    • None
    • Aggregation Framework
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: