-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Statistics
-
Storage Engines
-
StorEng - Defined Pipeline, Security 2024-02-19, Security 2024-03-04
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.
- is depended on by
-
SERVER-86387 Change WiredTigerStats to store a struct of int64
- Closed
- related to
-
WT-12647 Avoid overhead of formatting statistics values as strings
- Closed