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

Use more accurate statistics for cursor cache totals

    • Storage Engines 2018-12-03, Storage Engines 2018-12-17
    • v4.0, v3.6

      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.

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

              Created:
              Updated:
              Resolved: