Skip to content

Conversation

@missytake
Copy link
Contributor

According to research by @hpk42 and @feld, this could save a lot of storage. login seems to take 0.34 seconds longer if the index is not cached on disk; not a big deal.

Deleting all the index files is not part of this PR, can be done manually once for servers which want to reduce storage.

@missytake missytake requested a review from hpk42 September 11, 2025 22:54
Copy link
Contributor

@hpk42 hpk42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removing dovecot.index.cache files on nine yields massive reduction:

PREVIOUS: 61GB free Use 90%
NOW: 141GB free Use 67%

let's merge this PR, and see if there are any adverse effects which i doubt because even "cmdeploy bench" got faster.
It could only be that larger mailboxes get slower but we don't want large server-mailboxes anyway, and they are not super-large.

Co-authored-by: holger krekel  <[email protected]>
@missytake missytake merged commit 7bf2dfd into main Sep 12, 2025
6 of 7 checks passed
@missytake missytake deleted the no-index-files branch September 12, 2025 07:30
@link2xt
Copy link
Contributor

link2xt commented Sep 17, 2025

Looks like this at least broke Seen flag synchronization for multi-device: #640

link2xt added a commit that referenced this pull request Sep 18, 2025
link2xt added a commit that referenced this pull request Sep 22, 2025
link2xt added a commit that referenced this pull request Sep 22, 2025
@link2xt link2xt mentioned this pull request Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants