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

Provide a knob to disable or adjust updates with damages for a collection

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution NAMER
    • v7.0, v6.0, v5.0, v4.4
    • Execution NAMR Team 2023-09-04

      Updates-with-damages uses WiredTiger's modify operation instead of the usual update operation. Whereas an update is a full new value for a document, the modify is a delta on top of the previous value. Using a modify instead of an update benefits using lesser cache and reduces log amplification. But this comes at the performance cost of reads and writes, as full values need to be computed, which might need coalescing several modify on top of a base update.

      Currently, there is no way to disable or tune the usage of updates-with-damages, so if a workload generates a lot of modify with a high-performance penalty, we can't mitigate the situation.

      This ticket can explore providing knob(s) to disable updates-with-damages on a collection or reduce how often modify get generated.

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: