I just start mongod with config file:
mongod -f /etc/mongod.conf
In /etc/mongod.conf, I set storage.preallocDataFiles=true
This is a part of config:
storage:
dbPath: "/data/db"
directoryPerDB: true
indexBuildRetry: true
preallocDataFiles: true
nsSize: 16
Why mongod tell me "note: noprealloc may hurt performance in many applications" ?
Aucun commentaire:
Enregistrer un commentaire