MongoDB preload documents into RAM for better performance
问题 I want MongoDB to hold query results in RAM for longer period of time (say 30 minutes if memory is available). Is it possible? OR is there any way i can make sure that the data is pre-loaded into RAM before subsequent queries on it. In fact i am wondering about simple query results performance by MongoDB. I have a dedicated server with 10GB RAM and my db.stats() are as follows; db.stats(); { "db": "test", "collections":16, "objects":625690, "avgObjSize":68.90, "dataSize":43061996,