Created
June 27, 2017 06:50
-
-
Save alkampfergit/53565f6dcb87eda80a86fbc108249f36 to your computer and use it in GitHub Desktop.
Enable mongo profiling, deleting old system.profile collection
This file contains hidden or 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.setProfilingLevel(0, 100) | |
db.getCollection('system.profile').drop() | |
db.setProfilingLevel(1,100) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment