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

Time-series inserts spent a lot of time in wt_calc_modify but don't generate deltas

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.0.0-rc2, 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v5.0
    • Hide

      Run TSBS with cpu-only workload. Run db.point_data.stats() and look at the number of cursor modify operations. It doesn't increase during the work load, but attaching a profiles shows significant time spent in wiredtiger_calc_modify.

      Show
      Run TSBS with cpu-only workload. Run db.point_data.stats() and look at the number of cursor modify operations. It doesn't increase during the work load, but attaching a profiles shows significant time spent in wiredtiger_calc_modify .
    • Execution Team 2021-05-31, Execution Team 2021-06-14

    Description

      We spend 25% of time on attempting to compute WT_MODIFY deltas, but never succeed to the limit of 16 changes. We should either support deltas with more than 16 changes, or find a way to avoid useless calculations.

      Probably it is best to directly change the doc_diff updates into deltas.

      Attachments

        Issue Links

          Activity

            People

              yuhong.zhang@mongodb.com Yuhong Zhang
              geert.bosch@mongodb.com Geert Bosch
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: