-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Not Applicable
-
Storage Engines
The data returned by a statistics cursor includes the value of each statistic formatted as a string. This is not used by MongoDB, so the cost of doing this string conversion (essentially a call to vsprintf()) is just overhead.
The goal of this ticket is to eliminate this overhead for MongoDB. Possibly we can infer that the formatted value string is not needed. Possibly we can add a cursor option to tell WiredTiger it won't be needed. Or there may be other approaches.
Note that we currently generate this value string here and here
- is related to
-
WT-12401 Make a efficient API for retrieving session stats
- Open