Cache IndexCatalogEntry during the collection scan phase of an index build

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0, 7.0.0-rc4
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • Execution Team 2023-06-12
    • 155
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-77062 introduced copy-on-write semantics for IndexCatalogEntry and removed cached pointers. This has introduced noticeable performance regressions during the collection scan phase of an index build. We can safely cache the IndexCatalogEntry here to get this performance back.

        1. after-server-77062.svg
          442 kB
          Gregory Wlodarek
        2. before-server-77062.svg
          405 kB
          Gregory Wlodarek
        3. image-2023-06-06-13-12-39-597.png
          131 kB
          Gregory Wlodarek
        4. with-fix.svg
          428 kB
          Gregory Wlodarek

            Assignee:
            Gregory Wlodarek
            Reporter:
            Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: