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

Track transaction size on 4.0

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.9
    • Diagnostics, Replication
    • None
    • Fully Compatible
    • v4.0
    • Repl 2019-04-08

    Description

      Adding metrics around the size of transactions could help us determine what use cases to optimize for. Metrics for the last run transaction:

      1. Number of operations in the transaction
      2. Total size of transaction statements in oplog
      3. Write Concern

      There will be a new serverStatus section transactions.lastCommittedTransaction:

      {
          "operationCount" : NumberLong(1),
          "oplogOperationBytes" : NumberLong(151),
          "writeConcern": {
              "w" : 1,
              "wtimeout" : 0
          }
      }
      

      Attachments

        Issue Links

          Activity

            People

              tess.avitabile@mongodb.com Tess Avitabile (Inactive)
              judah.schvimer@mongodb.com Judah Schvimer
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: