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

Avoid overhead of formatting statistics values as strings

    • 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

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

              Created:
              Updated:
              Resolved: