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

Track transaction size on 4.0

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.9
    • Affects Version/s: None
    • Component/s: Diagnostics, Replication
    • Labels:
      None
    • Fully Compatible
    • v4.0
    • Repl 2019-04-08

      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
          }
      }
      

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

              Created:
              Updated:
              Resolved: