[Dovecot] body search very slow since upgrade from 1.0.15 to 1.2.10
tss at iki.fi
Thu Feb 25 07:55:46 EET 2010
On 25.2.2010, at 7.47, Pascal Volk wrote:
> On 02/24/2010 07:27 PM Timo Sirainen wrote:
>> Well, when index is up-to-date it's fast. But after you've received a
>> few mails, at least with me it seemed to spend more time updating the
>> index than just doing the regular search.
> I've never setup any of the three FTS plugins. I've only seen, that the
> plugins are used as mail_plugin in the protocol imap/pop3 sections.
> When the index should be up-to-date all the time (what's very important
> (IMHO)), I'm asking myself: Why are there no fts plugins for the lda and
> lmtp section? When the index would by updated on delivery, it should be
> always up-to-date. Or did I overlook something?
1) It seemed a bit difficult to implement at first. Probably easier now.
2) Updating FTS indexes when user doesn't use them is a waste of CPU and space. Of course, this could be done in a similar way as caching. Update FTS for mailboxes where it's actually used.
3) Squat's updates would still be slow..
> Just a quick idea: How about a Xapian <http://xapian.org/> fts plugin?
Go ahead ;)
More information about the dovecot