My delivery_log_archive is very large and I don't want MailWizz touching it on a regular basis. So, where is the following query run? I will disable it:
SELECT DISTINCT(DATE(t.date_added)) AS date_added, `t`.`log_id` AS `t0_c0` FROM `campaign_delivery_log_archive` `t` INNER JOIN `list_subscriber` `subscriber` ON (`t`.`subscriber_id`=`subscriber`.`subscriber_id`) INNER JOIN `mw_list` `list` ON (`subscriber`.`list_id`=`list`.`list_id`) WHERE (DATE(t.date_added) >= DATE_ADD(LAST_DAY(DATE_SUB(NOW(), INTERVAL 3 MONTH)), INTERVAL 1 DAY)) AND (list.list_id = 3) GROUP BY MONTH(t.date_added) ORDER BY t.date_added ASC LIMIT 3
Thanks!
SELECT DISTINCT(DATE(t.date_added)) AS date_added, `t`.`log_id` AS `t0_c0` FROM `campaign_delivery_log_archive` `t` INNER JOIN `list_subscriber` `subscriber` ON (`t`.`subscriber_id`=`subscriber`.`subscriber_id`) INNER JOIN `mw_list` `list` ON (`subscriber`.`list_id`=`list`.`list_id`) WHERE (DATE(t.date_added) >= DATE_ADD(LAST_DAY(DATE_SUB(NOW(), INTERVAL 3 MONTH)), INTERVAL 1 DAY)) AND (list.list_id = 3) GROUP BY MONTH(t.date_added) ORDER BY t.date_added ASC LIMIT 3
Thanks!