Is it possible to run multiple mongod instances on a single set of database files
- by 9point6
We have large multi-gigabyte data sets on which we run very complex queries, for example
{
$or: [ { id: 30000001, ... }, { id: 30000005, ... }, ..., { id: 30001005, ... } ]
}
It seems that CPU is actually a bottleneck at this point, so I'd be advantageous to be able to run multiple mongod instances on the same set of database files.
We've considered using replica sets to this end, but would prefer to not require the extra disk space simply for CPU reasons.