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

Optimize bulk inserts on collections with column index

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Execution

    Description

      When doing a bulk insert into a collection with a column index, we should also bulk insert keys into the column index itself. This can be done by generating all of the keys for the documents inserted, and inserting all of the keys for path 'a' together, then all of the keys for path 'b' together, etc etc.

      To do this, we should change the column key generator so that it can generate keys for multiple documents, and then visit all of the keys for one path, then the next, and so on.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: