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

Collection used by dry-run keeps growing in disk size #9

Open
kapetan opened this issue Aug 1, 2014 · 0 comments
Open

Collection used by dry-run keeps growing in disk size #9

kapetan opened this issue Aug 1, 2014 · 0 comments

Comments

@kapetan
Copy link
Contributor

kapetan commented Aug 1, 2014

The _mongopatch_tmp collection keeps growing on the disk, even though it doesn't contain any documents. MongoDB doesn't reclaim the disk space when documents are deleted.

Possible solutions, make the collection a capped collection or drop the collection before running a dry-run.

The repairDatabase command isn't really an option as it locks the whole database while it's running.

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

1 participant