[Dovecot] body search very slow since upgrade from 1.0.15 to 1.2.10

Timo Sirainen tss at iki.fi
Tue Feb 23 20:33:24 EET 2010

On 23.2.2010, at 16.19, Stan Hoeppner wrote:

> Did you mislead me Timo?  You said search in 1.1+ is faster than 1.0.  I'm
> seeing approximately 20x *slower* search times in 1.2.10.
> Via Thunderbird, a full body search of my 11,000+ message IMAP folder hosted
> by 1.0.15 used to take less than 10 seconds.  Since upgrading to 1.2.10 the
> search is taking over 3 minutes, the imap process servicing the client
> pegging one CPU at 100% for the duration of the search.  Here's the mbox file:

Well, v1.1+ does case-insensitive searches by converting all mails to UTF-8 first. But it really shouldn't make it that much slower. What OS and CPU is this with?

You could also try if it happens to work faster by compiling Dovecot without iconv support.

I guess there could also be some kind of a bug that you're triggering.

More information about the dovecot mailing list