This article explains how Thunderbird stores messages on disk and why it is necessary to periodically compact folders. Compacting is a regular file maintenance process (sometimes referred to as "purging") which recovers disk space without changing or removing any of your messages.
How Thunderbird stores messagesThunderbird has two storage methods for folders:
Compact (purge) is a maintenance process, so it:
You may be concerned that the compact prompt sometimes appears just when you have deleted a message, or when you have started Thunderbird. This is expected behavior and is not cause for concern, because compact does not delete your messages.
Is it OK to compact?Compact (purge) is normal maintenance (for the reasons described below), and so it is OK to allow a compact to proceed.
The Compact Folders promptThe Compact Folders prompt appears when the compact threshold has been reached.
You can choose Compact now to allow compacting to proceed, or Remind me later if the prompt came at an inconvenient time (in Thunderbird 78, the respective buttons were Proceed and Cancel). The prompt also has a checkbox: . To avoid being prompted again, you can tick this option and choose Compact now (Proceed in Thunderbird 78) - then compacting will happen automatically in the background when necessary. If you do not wish to be prompted, we suggest you use the checkbox.
Why is compact required?Folders are stored by default in mbox format, and these need periodic cleaning because your daily usage of Thunderbird involves:
Compact does not apply to accounts using the
maildirstorage format. Unlike
mbox,
maildirstores each message in a separate file, and deleting a message results in deleting the message file.
When does compact occur?A compact happens when:
≡ > > >
In configuring, you can:
Thunderbird opens the mbox file on the disk (for example, the Inbox), and based on the rules for the mbox mail format it reads the file one message at a time:
This repeats until the end of the file is reached. Then the original storage file is deleted, the new one replaces it, and a new index for this message file is created (for example Inbox.msf). The end result is the gaps (the dirt) are gone.
During compact, the progress is displayed in the Status Bar:
Potential complicationsMost users will experience no complications during or after the compact process. But because compact involves signficiant IO activity, some users might experience folder issues or slowness, even more so if antivirus software monitoring is not excluding your Thunderbird profile directory. For more information see Compacting folders - Potential complications.
See alsoThese fine people helped write this article:
Chris Ilias,
Underpass,
Michele Rodaro,
Roland Tanglao,
Wayne Mery,
Matt,
user917725,
Lan,
Dyvik Chenna,
vesper,
Michael Buluma,
david,
thomas8,
Marsak VolunteerGrow and share your expertise with others. Answer questions and improve our knowledge base.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3