Answer the question
In order to leave comments, you need to log in
Missing records from mongoDB
There is a collection with a million+ entries. Entries are added to it or updated using upsert. Records from this collection periodically disappear. It seems to happen when there is a shortage of RAM. Has anyone encountered such a problem? How to avoid?
Answer the question
In order to leave comments, you need to log in
How much RAM is there? How much does the data weigh? How much do indexes weigh?
Try to enable journaling (if not enabled) and check with getLastError for which operations records are lost.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question