Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-35300

Track total transaction duration in TxnStats

    XMLWordPrintable

Details

    • Fully Compatible
    • v4.0
    • Repl 2018-06-18, Repl 2018-07-02

    Description

      We want to track total transaction duration in TxnStats. To do this, we can add a TxnStats::startTime field. When a transaction begins, we will save the start time of the transaction. This will allow us to compute the total elapsed time of the transaction as (now() - startTime), when the transaction commits or aborts.

      Attachments

        Issue Links

          Activity

            People

              jinny.byun Jinny Byun
              william.schultz@mongodb.com William Schultz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: