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

Optimize btree key generation

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • 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

              david.storch@mongodb.com David Storch
              aaron Aaron Staple
              Votes:
              32 Vote for this issue
              Watchers:
              45 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: