Why after deleting a 110+ GB collection, my /var/lib/mongodb directory still have same size?
Posted
by
tunnuz
on Server Fault
See other posts from Server Fault
or by tunnuz
Published on 2011-05-12T13:08:04Z
Indexed on
2012/06/20
3:17 UTC
Read the original article
Hit count: 499
I am having some troubles with MongoDB and space usage. In particular, I once used to have a large collection of about 600 million records totaling 110+ GB on disk. Recently I decided to drop it because the data was outdated, to do so I dropped the collection through rockmongo's web interface. Accordingly, rockmongo doesn't show me the collection anymore, however my disk usage hasn't changed at all.
Is there any clean operation which I am not aware of, which must be run in order to synchronize the database with database files on disk?
I have tried to perform a "repair" but the system complains that there's not enough space on disk ... that's because it is all used by MongoDB.
© Server Fault or respective owner