Created
May 10, 2018 01:44
-
-
Save sarjarapu/8ae26c2056b5a3b19d7405742183485a to your computer and use it in GitHub Desktop.
The MongoDB currentOp command to help you find database operations with number of yields greater than or equal to 100
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.adminCommand({ | |
"currentOp": true, | |
"ns": /^guidebook\./, | |
"numYields" : {"$gte": 100} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment