Thread: Myslqd
View Single Post
  #4 (permalink)  
Old 12-09-2005, 05:06 PM
marcmac marcmac is offline
Zimbra Employee
 
Posts: 2,103
Default indices to add

su - zimbra
logmysql
use zimbra_logger;

alter table mta add index i_arrive_time (arrive_time);
alter table amavis add index i_arrive_time (arrive_time);
alter table mta_aggregate add index i_period_start (period_start);
alter table mta_aggregate add index i_period_end (period_end);
alter table amavis_aggregate add index i_period_start (period_start);
alter table amavis_aggregate add index i_period_end (period_end);
Reply With Quote