[DOCS-1683] Documentation incorrectly says that compact can be used to reclaim disk space Created: 08/Jul/13  Updated: 08/Jul/13  Resolved: 08/Jul/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Ian Daniel Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 10 years, 32 weeks, 2 days ago

 Description   

The MongoDB Storage FAQ says to use either compact or repair to reclaim space, in the section Why are the files in my data directory larger than the data in my database. Given the title of that section, I believe that most readers will interpret this as compact being a way of reclaiming disk space.

Compact does not reclaim disk space, however. It only refragments. The compact documentation page spells this out, in the Disk Space section.

We should remove compact as a means of reclaiming disk space from the Storage FAQ.



 Comments   
Comment by auto [ 08/Jul/13 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1683: adding clarification about the properties of the compact command in the faq
Branch: v2.2
https://github.com/mongodb/docs/commit/2320ac37975677d0bb29bac5395e564fa46354e1

Comment by auto [ 08/Jul/13 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1683: adding clarification about the properties of the compact command in the faq
Branch: master
https://github.com/mongodb/docs/commit/4d625cc08d382fdfb4a2312779a299215cc33eec

Generated at Thu Feb 08 07:41:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.