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

Optimize btree key generation

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.1
    • Component/s: Indexing, Write Ops
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Quint 3.1.0, Quint Iteration 3.1.1

      Description

      IndexSpec::getKeys() finds the set of index keys for a given document and index key spec. It's used when inserting / updating / deleting a document to update the index entries, and also for performing in memory sorts, deduping $or clauses and for other purposes.

      Right now extracting 10k elements from a nested object field within an array takes on the order of seconds on a decently fast machine. We could see how much we can optimize the implementation.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              david.storch David Storch
              Reporter:
              aaron Aaron Staple
              Participants:
              Votes:
              32 Vote for this issue
              Watchers:
              45 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: