Hello,
I have a question about mongodb logs and performances.
I have a replicaset, each mongod instance runs on a Red Hat linux machine.
Each machine has a 2 drives : a local hard disk (ext4 format) and a netwok file system.
The mongo dbpath is located on the local hard disk.
I have doubts concerning the log files location, I have 2 solutions :
1. If the log files are located on the hard disk, the logging performances are good but the IO activity is increased on the local hard disk and I suppose that it could decrease the global performances ?
2. If the log files are located on the netwotk file system, the IO activities (logs and datas) are separated. But, in this case, the logging performances are worse than the local location and I don't know if the global performances can be affected/decreased ?
If someone can suggest me the best configuration, it will be very useful for me.
Best regards
Stéphane