I'm having issues with overuse of MongoDB space. I had a collection with 8 GB of space. I tried to compress this space using the mongo command "db.repairDatabase ()", but it got worse. The collection now uses 11 GB of space! I found that the compact command might be useful this way, but it increased the use of space to 17 GB!
Can someone help me with this problem?
source
share