Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve doveadm mailbox delete speed #254

Open
jrse opened this issue Jun 4, 2019 · 0 comments
Open

Improve doveadm mailbox delete speed #254

jrse opened this issue Jun 4, 2019 · 0 comments

Comments

@jrse
Copy link
Contributor

jrse commented Jun 4, 2019

Currently the mailbox delete process follows the delete process implemented by mdbox.
This involves deleting mailbox by mailbox in a sequencial way.
When deleting thousands of mailboxes at the same time this process may take a long time.

It is up for discussion how this can be improved.
There are currently several ideas how to improve this.

  1. Delete all mails in the users namespace (this requires separate namespace for each user, which is the default.) (may be slower than 2)
  2. read all user index mailbox files, and delete each mail with the guid asynchronously.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant