Is it possible to run multiple mongod instances on a single set of database files

Posted by 9point6 on Server Fault See other posts from Server Fault or by 9point6
Published on 2012-12-09T17:23:41Z Indexed on 2012/12/10 17:06 UTC
Read the original article Hit count: 145

Filed under:

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.

© Server Fault or respective owner

Related posts about mongodb