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

Cache IndexCatalogEntry during the collection scan phase of an index build

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

      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
        2. before-server-77062.svg
          405 kB
        3. image-2023-06-06-13-12-39-597.png
          image-2023-06-06-13-12-39-597.png
          131 kB
        4. with-fix.svg
          428 kB

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: