On 9/30/10 11:01 AM, Zhang Huangbin wrote:
> Do you mean msgs.partition_tag in Amavisd SQL logging?
>
That is a start.

I mean that in addition to mysql partitioning.

with mysql partitioning, you can drop a partition in < .05ms.
split up your partitions (coordinated with the partition_tag in msgs, 
msgrcpt, quarantine and maddr) makes cleanup fast.

use crontab, and just before you need a new partition, create it.
then use crontab, when you don't need the partition anymore, delete it.

also helps in sql queries.

search archive in this group for several examples on how to do it, as 
well as the amavisd-new README's


-- 
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
ISN: 1259*1300
 > *| *SECNAP Network Security Corporation

    * Certified SNORT Integrator
    * 2008-9 Hot Company Award Winner, World Executive Alliance
    * Five-Star Partner Program 2009, VARBusiness
    * Best in Email Security,2010: Network Products Guide
    * King of Spam Filters, SC Magazine 2008

______________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.secnap.com/products/spammertrap/
______________________________________________________________________  

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
AMaViS-user mailing list
[email protected] 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org

Reply via email to