Hi,
1. We have following configuration of mongodb:(journal enabled)
On machines-1 have following servers
mongod - 5
config server - 2
mongos - 1
On machines-2 have following servers
mongod - 5
config server - 1
2. Mongod's on both the machines are writing data to a RAID-5 disk array, which has total 100TB storage, where each mongod is allotted 9.1TB storage.
3. We have 10 GB ram each on both machine.
Our use case is following
1. Day wise databases. Database of 365 days(for one year), so maximum database is 365 at a time.
2. Insert rate - 1000 new objects per minute into current date db, where each object's avg size is 250 KB.
3. Index size per day is around 40-70 MB combined. (combined means of all Mongods)
RAM requirement:
1. Considering 70MB index size per day for 365 days will be 22 GB. As mongodb suggests all indexes should be in RAM so minimum RAM requirement should be 22GB.
so we need 11 GB RAM each for both machine. Is this calculation correct? Should we consider only indexes for RAM requirement or what other considerations should we have? How much RAM should we have on both the nodes?
Currently we are getting huge page fault on both machine.
Please help me to calculate how much RAM we need for this System and how to reduce huge page fault.
T&R,