On 5.4.2013, at 14.30, Gilles CHAUVIN <gilles.chau...@univ-rouen.fr> wrote:

> On Friday 05 April 2013 14:08:30 Timo Sirainen wrote:
>> doveadm batch -A : quota get : mailbox status -t all '*'
> 
> Hi Timo,
> 
> In fact, I need to run those 2 commands from a Python script once a day (to 
> gather data and make some stats about our mailstore usage).
> 
> We are slowly migrating from an old cyrus server and currently, with only 
> ~7500 users, running these commands takes a while. At the end of the 
> migration 
> we'll have ~34000 users using the mailstore... I fear gathering these infos 
> will take a very long time ;).

Try with mailbox_list_index=yes. It should make the status command faster. And 
if you're using Maildir, set maildir_very_dirty_syncs=yes.

Reply via email to