Re: performance problems with notmuch new

Subject: Re: performance problems with notmuch new

Date: Mon, 27 Apr 2020 09:56:35 -0300

To: Don Zickus

Cc: notmuch@notmuchmail.org

From: David Bremner


Don Zickus <dzickus@redhat.com> writes:

> On Fri, Apr 24, 2020 at 08:07:27PM -0300, David Bremner wrote:
>> Don Zickus <dzickus@redhat.com> writes:
>> 
>> >
>> > Of course I am using this in a strange context.  I am deleting emails
>> > locally and then running 'notmuch new' to clean up the database.
>> >
>> [snip]
>> > So maybe my use case is unusual and the slowness is expected.
>> 
>> I'd say it's a known performance bug in notmuch that it doesn't deal
>> well with large numbers of deletions. At some point it is faster to
>> reindex the whole database from scratch.
>
> Does that mean 'notmuch dump' and 'notmuch restore'?  Willing to try that.
>

Exactly.

David
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: