MG Would like to increase the number of emails we can send in CiviMail
https://wikimedia.slack.com/archives/C045WH0QYS2/p1681827781163729
AKanji-WMF | |
Apr 24 2023, 2:37 PM |
F37708156: image.png | |
Sep 12 2023, 4:37 AM |
F37708126: image.png | |
Sep 12 2023, 4:37 AM |
MG Would like to increase the number of emails we can send in CiviMail
https://wikimedia.slack.com/archives/C045WH0QYS2/p1681827781163729
I'm trying to arrange a call between Rosie & Eileen to discuss alternate sending methods.
@AKanji-WMF - i think it would be good to still increase this limit to tide us over as we head into appeal season.
Testing on staging ...
Documentation https://docs.civicrm.org/user/en/latest/email/mass-mailings-using-civimail/#choosing-recipients-groups-versus-search-results
I note that
The loading issue / data volume is an issue / trap
I created an upstream issue https://lab.civicrm.org/dev/core/-/issues/4567 - but I think in the short term we need to rationalise our civicrm_mailing data
We have 22978433 records in civicrm_mailing_job that pre-date 2020 ....
We could
Doing the above should get the queries sane and allow the mailing dashboard to load & allow us to start querying stuff
It is further worth thinking about what we want from the older bounce records etc
My feeling is it might be worth creating activities for bounces less than x years old( or perhaps all 1.3m of them), and the unsubscribes & we should probably delete the delivereds & opens after just a month or 2 (AFAIK we have never looked at them)
+------------------------------------------+-------------+
mailing_table | number_rows |
civicrm_mailing | 7075 |
civicrm_mailing_job | 50296940 |
civicrm_mailing_event_queue | 50094686 |
civicrm_mailing_event_bounce | 1305082 |
civicrm_mailing_event_confirm | 0 |
civicrm_mailing_event_delivered | 50070600 |
civicrm_mailing_event_forward | 0 |
civicrm_mailing_event_opened | 421457 |
civicrm_mailing_event_reply | 402 |
civicrm_mailing_event_subscribe | 0 |
civicrm_mailing_event_trackable_url_open | 62816 |
civicrm_mailing_event_unsubscribe | 9168 |
QUery for above
SELECT 'civicrm_mailing' as mailing_table, COUNT(*) as number_rows FROM civicrm_mailing UNION SELECT 'civicrm_mailing_job' as mailing_table, COUNT(*) as number_rows FROM civicrm_mailing_job UNION SELECT 'civicrm_mailing_event_queue' as mailing_table, COUNT(*) as number_rows FROM civicrm_mailing_event_queue UNION SELECT 'civicrm_mailing_event_bounce' as mailing_table, COUNT(*) as number_rows FROM civicrm_mailing_event_bounce UNION SELECT 'civicrm_mailing_event_confirm' as mailing_table, COUNT(*) as number_rows FROM civicrm_mailing_event_confirm UNION SELECT 'civicrm_mailing_event_delivered' as mailing_table, COUNT(*) as number_rows FROM civicrm_mailing_event_delivered UNION SELECT 'civicrm_mailing_event_forward' as mailing_table, COUNT(*) as number_rows FROM civicrm_mailing_event_forward UNION SELECT 'civicrm_mailing_event_opened' as mailing_table, COUNT(*) as number_rows FROM civicrm_mailing_event_opened UNION SELECT 'civicrm_mailing_event_reply' as mailing_table, COUNT(*) as number_rows FROM civicrm_mailing_event_reply UNION SELECT 'civicrm_mailing_event_subscribe' as mailing_table, COUNT(*) as number_rows FROM civicrm_mailing_event_subscribe UNION SELECT 'civicrm_mailing_event_trackable_url_open' as mailing_table, COUNT(*) as number_rows FROM civicrm_mailing_event_trackable_url_open UNION SELECT 'civicrm_mailing_event_unsubscribe' as mailing_table, COUNT(*) as number_rows FROM civicrm_mailing_event_unsubscribe
I pushed out the setting update today - we had planned to switch to CiviMail rather than increase the setting but then suddenly we were in code freeze & it didn't feel safe anymore