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

Cache IndexCatalogEntry during the collection scan phase of an index build

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.0-rc4
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • Execution Team 2023-06-12
    • 155

    Description

      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.

      Attachments

        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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: