[Dovecot] what to expect from changing index location

Davide Vaghetti davide.vaghetti at ing.unipi.it
Wed Jun 29 18:54:40 EEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/28/2011 07:29 PM, Charles Marcus wrote:
> On 2011-06-28 12:13 PM, Davide Vaghetti wrote:
>> mail_location = mdbox:/var/vmail/%-1.1u/%u/mdbox
>> 
>> and I want to switch to
>> 
>> mail_location = 
>> mdbox:/var/vmail/%-1.1u/%u/mdbox:INDEX=/var/indexes/%-1.1u/%u/
>> 
>> But I cannot figure out a pair of things:
>> 
>> - - do the switch trigger the rebuilding of the index files?
>> 
>> - - can I get rid of all the old index files?
> 
> I'm by no means an expert, but with that many users I think if you
> did this in one shot (all indexes being rebuilt simultaneously as
> users logged in) your system would slow to a crawl...
> 
> I would first rsync the existing indexes over live, then stop
> dovecot, do another quick rsync of the indexes, then make the change
> and restart dovecot...
> 
> That will minimize the impact (rebuilding of indexes)...
> 

Good hint! Thank you.

What about the index grow factor? Do some of you folks have any idea
about that (no ftp squat)?

bye
davide
- -- 
Dott. Davide Vaghetti
Centro Servizi Informatici Facolta' di Ingegneria
Universita' di Pisa
PGP:
http://keys.keysigning.org:11371/pks/lookup?op=get&search=0x7A1B3BA18C4E0A4D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4LSr0ACgkQehs7oYxOCk2iBwCfbcygrvBaO4JJFAtgTb9fXwZg
FPMAoI/yZFborIJH+U3gTx28In602H7k
=pHbw
-----END PGP SIGNATURE-----


More information about the dovecot mailing list