Created
December 5, 2011 16:18
-
-
Save mathieuravaux/1434139 to your computer and use it in GitHub Desktop.
Prevent table scans in Mongodb
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
# Store data in /usr/local/var/mongodb instead of the default /data/db | |
dbpath = /usr/local/var/mongodb | |
# Only accept local connections | |
bind_ip = 127.0.0.1 | |
cpu = true | |
verbose = true | |
rest = true | |
notablescan = true |
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
launchctl stop org.mongodb.mongod | |
launchctl stop org.mongodb.mongod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment