[SERVER-3206] reusage of free space on high insert/delete enviroments Created: 06/Jun/11 Updated: 12/Jul/16 Resolved: 10/Jan/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code, Storage |
| Affects Version/s: | 1.8.1, 1.9.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Eger Andreas | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 5 |
| Labels: | insert, storage | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Operating System: | ALL |
| Participants: |
| Description |
|
MongoDB does not reuse deleted space if the collection has an index on a key (in addition to _id) there is already a pull request on github regaring that issue - but its not mine I just tried it. Attached is a testscript(for 1.8.1) and the logs from v1.8.1 and the patched version(based on the v1.8 branch) from github. You can clearly see the difference. Issue is also present on current master but not as bad(see the growth_test_master.log & growth_test_master_patched.log) |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 10/Jan/13 ] |
|
2.2 introduced a collection level option for power of 2 allocation, which would solve this. |