Created
September 28, 2014 19:15
-
-
Save SamLeach/aff5721d1e9106a3c18c to your computer and use it in GitHub Desktop.
convert collection to capped collection
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
// size in bytes | |
db.runCommand({"convertToCapped": "logs", size: 100000}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment