So I have a big MongoDB database with like 2358 documents. Whenever I try to query it takes a long period of time and sometimes when I go to the dashboard and try to get the data it shows me this: Image of MongoDB error
I don't know how to fix it and I need it for a project I am doing. The programming language I am using is Python and I am using the pymongo library. I don't know if it matters but I am using repl.it to run my code
It turns out it was my fault. I wasn't using a query and I was just extracting all the documents from my collection at once. So the lesson is: use a query
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.