[SERVER-2120] Inplace compaction Created: 19/Nov/10 Updated: 01/Jun/18 Resolved: 20/Apr/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Performance |
| Affects Version/s: | None |
| Fix Version/s: | 1.9.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Testo | Assignee: | Dwight Merriman |
| Resolution: | Done | Votes: | 23 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
It would be nice if we can compact/repair database inplace (i.e. won't double disk usage temporary). Currently if the database fills up the disk, there will be no easy way to compact it back even though a lot of data has been deleted |
| Comments |
| Comment by Dwight Merriman [ 02/May/11 ] |
|
this version of compact does not require 2x space, and should be quite fast. unfortunately it is blocking (write lock) |
| Comment by Dwight Merriman [ 14/Apr/11 ] |
| Comment by Justin Smestad [ 23/Mar/11 ] |
|
Many of our customers are asking for this and really is an issue for proper storage billing since our customers cannot compact their storage allocation and only pay for what they use. – Mongo Machine |
| Comment by Luke Ehresman [ 11/Jan/11 ] |
|
This is critical for us. We have huge databases, and having 2x disk usage is not feasible. We would also like to perform compaction on a regular basis to reclaim unused space, so having this perform compaction in the background would be ideal. |