[DOCS-9714] Clarify operation of compact command with WiredTiger Created: 03/Jan/17 Updated: 30/Oct/23 Resolved: 04/Dec/17 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | Server |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Bruce Lucas (Inactive) | Assignee: | Kevin Adistambha |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Participants: | |||||||||||||
| Days since reply: | 6 years, 10 weeks, 3 days ago | ||||||||||||
| Description |
|
The compact command doesn't free wasted space due to fragmentation under WiredTiger. I think this isn't clear from the documentation. Two suggested places to change:
Clarify that the "defragments" only applies to mmapv1, not to WT.
Re-iterate that it may not reclaim unneeded disk space due to fragmentation. |
| Comments |
| Comment by Githook User [ 04/Dec/17 ] |
|
Author: {'username': 'kevinadi', 'email': 'kevinadi@gmail.com', 'name': 'Kevin Adistambha'}Message: |
| Comment by Allison Reinheimer Moore [ 03/Jan/17 ] |
|
To Kay for grooming, since it's somewhat related to |
| Comment by Keith Bostic (Inactive) [ 03/Jan/17 ] |
|
WiredTiger's compact command will help with fragmentation in some workloads. I think we're being too wordy ("rewrites and defragments" is an implementation detail). I don't know how mmapv1 compaction works, but for WiredTiger I would suggest:
and
|