Make a efficient API for retrieving session stats

XMLWordPrintableJSON

    • Storage Engines, Storage Engines - Foundations
    • StorEng - Defined Pipeline, Security 2024-02-19, Security 2024-03-04
    • None

      While investigating the MongoDB transactions in TPCC, WiredTigerStats::WiredTigerStats method spends an excessive amount of time opening a cursor, iterating the cursor and then closing the cursor to retrieve 8 uint64_t metrics.

      This ticket will add an API to WT_SESSION to memcpy the metrics out instead of using the cursor. The expectation is that memcpy is cheaper then the WT cursor API.

      Will have a secondary benefit of reducing the costs to read some of the metrics for needed by PM-3268.

              Assignee:
              [DO NOT USE] Backlog - Storage Engines Team
              Reporter:
              Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

                Created:
                Updated: