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

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: