I’m having trouble figuring out the answer to this one:
- Am I supposed to run one instance of MongoDB for each directory location?
- Or am I supposed to store all databases in the same location?
- Or Do I run one MongoDB instance and can specify a different location for each database at run time?
You can use the –directoryperdb option of mongodb to store each DB in a different physical location.