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

Optimize inserts for unique indexes that don't have old format keys

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution

      After SERVER-63577, we will know definitively when a unique index contains only new-format keys.

      This means we can skip this code that inserts and deletes a key every time we check for a duplicate.

      This will significantly speed up inserts in two ways:
      1. We don't have to perform this extra insert and delete
      2. We can avoid performance issues with performing search_near when a lot of keys are not visible. See WT-8150.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: