0

I've noticed that the inserts on my MongoDB are getting slower as the collection grows. The collection doesn't have any indexes.

I wasn't able to find anything about this topic in the official documentation. Is it a known behavior?

2
  • To make any suggestions I would like to know some more details, like - what is your cluster, collection size, the application, etc. How did you know that inserts are slower? What was the difference in your environment/application before the insert operations got slower? Questions like these ... The official documentation has details about some tools (Database Tools) which can be used to monitor and diagnose issues. You can also find some information at: FAQ: MongoDB Diagnostics.
    – prasad_
    Feb 17 at 12:58
  • I'll edit the question to provide more details, it was intentionally vague to avoid being prolix and result in tl;dr. The simplest question that is for me a sufficient starting point is: "is the cost of insert in mongo allways the same or does it depends on the collection's size?". From this answer I can at least understand if it's the case to go deeper or it's just normal.
    – s.demuro
    Feb 17 at 21:57

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.