Avoid overhead of formatting statistics values as strings

XMLWordPrintableJSON

    • Storage Engines
    • None
    • None

      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
              Reporter:
              Keith Smith
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: