[Dovecot] Caching?

Timo Sirainen tss at iki.fi
Tue Nov 13 15:17:48 EET 2007


On 13.11.2007, at 13.21, Bjørn T Johansen wrote:

> Any way to minimize the number of sql statements that dovecot do?
>
> (and I tried adding userdb prefetch { } but number of sql calls are  
> still the same)

Did you add the userdb_* fields to passdb? Did you put prefetch  
before userdb sql? Show dovecot -n output? Set auth_debug=yes to see  
what SQL queries Dovecot actually sends.

For actual caching there's also auth_cache_size setting which is 0 by  
default.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20071113/616ca4cb/attachment.bin 


More information about the dovecot mailing list