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

expose 3.0 lock contention metrics in mongostat

    XMLWordPrintable

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.0.4
    • Fix Version/s: 3.1.9
    • Component/s: mongostat
    • Labels:
      None
    • Documentation Changes:
      Needed
    • Sprint:
      Kernel Tools 9 09/18/15, Server Tools A (10/09/15)

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tess.avitabile Tess Avitabile
              Reporter:
              alex.komyagin Alexander Komyagin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: