Run a MongoDB configuration server without 3GB of journal files

Posted by Thilo on Server Fault See other posts from Server Fault or by Thilo
Published on 2011-11-10T01:43:57Z Indexed on 2012/06/19 3:18 UTC
Read the original article Hit count: 492

For a production sharded MongoDB installation we need 3 configuration servers. According to the documentation "the config server mongod process is fairly lightweight and can be ran on machines performing other work". However, in the default configuration, they all have journalling enabled, and with preallocation this takes up 3 GB of disk space. I assume that the actual data and transaction volume of a config server is quite small, so that this seems a bit too much.

Is there a way to (safely!) run these config servers with much less disk use for the journal? Do I need journalling at all on config servers? Can I set the journal size to be smaller?

© Server Fault or respective owner

Related posts about replication

Related posts about mongodb