Re: [AMaViS-user] Disk usage UP during nightly cleanup

This is a discussion on Re: [AMaViS-user] Disk usage UP during nightly cleanup within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Paolo, > My nightly script ends with > OPTIMIZE TABLE msgs, msgrcpt, maddr, quarantine; > which apparently is NOT logged ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2006
Mark Martinec
 
Posts: n/a
Default Re: [AMaViS-user] Disk usage UP during nightly cleanup

Paolo,

> My nightly script ends with
> OPTIMIZE TABLE msgs, msgrcpt, maddr, quarantine;
> which apparently is NOT logged to the slow-queries MySQL log in case it
> runs longer than the threshold (= 3 sec, query goes on for 35 minutes).


I would leave out the OPTIMIZE TABLE from daily cron runs,
and perhaps only do it only once in a while, perhaps weekly.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:49 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0