Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-839

expose 3.0 lock contention metrics in mongostat

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.9
    • Affects Version/s: 3.0.4
    • Component/s: mongostat
    • None
    • Kernel Tools 9 09/18/15, Server Tools A (10/09/15)
    • Needed

      In 3.0 we no longer have db locks, but we have some other metrics we can use to estimate lock contention:
      Percentage of lock acquisitions that had to wait
      serverStatus.locks.Collection.acquireWaitCount.{R,W} / serverStatus.locks.Collection.acquireCount.{R,W}
      Average acquire time per acquisition that waited
      serverStatus.locks.Collection.timeAcquiringMicros.{R,W} / serverStatus.locks.Collection.acquireWaitCount.{R,W}

      They should be exposed in mongostat.

            Assignee:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Reporter:
            alex.komyagin@mongodb.com Alexander Komyagin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: