Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-4438

Use more accurate statistics for cursor cache totals

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.10, 4.1.7, 4.0.6, WT3.2.0
    • None
    • Storage Engines 2018-12-03, Storage Engines 2018-12-17
    • v4.0, v3.6

    Description

      The current statistics used are not modified atomically, and are probably not so useful to use for a resource counter.  Over time, cache effects may cause a drift in the value.

      At the minimum, the current global count of cached statistics should be accurate (that is, incremented/decremented in an atomic way.  If there is a measurable performance hit by adding this, we could avoid changing the open_cursor_count metric when caching/reopening a cursor, and change the meaning of that metric to include cached cursors.

      Attachments

        Issue Links

          Activity

            People

              donald.anderson@mongodb.com Donald Anderson
              donald.anderson@mongodb.com Donald Anderson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: