Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recovering disk space #181

Open
mbeneto opened this issue Nov 23, 2016 · 0 comments
Open

Recovering disk space #181

mbeneto opened this issue Nov 23, 2016 · 0 comments
Assignees

Comments

@mbeneto
Copy link
Contributor

mbeneto commented Nov 23, 2016

Dear all.

From some days ago I'm using mongodb_store to store long nav_msgs/Path. It is really convenient, comparing with the old "database" I was using.

After performing some test and searches, I found that the proper way to recover disk space after document deletions is to execute the command db.repairDatabase(). However, I realised after some tests that it wasn't having the desired effect in my database, quite the opposite, it was occupying even more space on the disk. After this, I found out that when deleting a document, a copy of it is made in the "message_store_Trash" collection.

What is the correct way to delete this collection? There's any way to avoid the creation of it and directly delete the files?

Best regards,
Marc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants