CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • How to clear Mail Queue civicrm_mailing_event_queue?
Pages: [1]

Author Topic: How to clear Mail Queue civicrm_mailing_event_queue?  (Read 891 times)

copeasetic

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.3.5
  • CMS version: Drupal 6.x & 7.x
  • MySQL version: 5.5
  • PHP version: 5.3.27
How to clear Mail Queue civicrm_mailing_event_queue?
November 30, 2013, 11:09:41 am
Hello all,

I have a clean install and have attempted to send a mailing. The mailing sent approx 7K emails then just stopped.

I have 30K records in my civicrm_mailing_event_queue table. From my research all records within this table are slated to be sent as part of an ongoing mailing.

If there are zero running mailings why would there be any records in the civicrm_mailing_event_queue table?

How do I clean that table up? May I simply empty it and start a new mailing?

Thanks in advance!

Jamie

penguintrax

  • I post frequently
  • ***
  • Posts: 230
  • Karma: 2
  • CiviCRM version: 3.3x and 4.x depending on site
  • CMS version: Joomla 1.5 or 1.7 depending on site
  • MySQL version: 5.0.92-community
  • PHP version: 5.2.17
Re: How to clear Mail Queue civicrm_mailing_event_queue?
December 20, 2013, 09:00:20 am
I'd be interested in knowing this, too. One of our clients has a mailing_event_queue table that is over 100MB in size and we are concerned about database integrity as we plan the next CiviCRM upgrade. We need to reduce the overall size of the DB and have targeted this table as well as activity_target as tables in need of slimming.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: How to clear Mail Queue civicrm_mailing_event_queue?
December 20, 2013, 09:57:55 am

civimail needs a feature to archive (off the DB into text files / archive table) to reduce the size of the tables. Your best bet would be to delete all old mailings.

I suspect this is going to be a big issues for sites using civimail a fair bit, so addressing and solving this problem in the right way would be preferred

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

penguintrax

  • I post frequently
  • ***
  • Posts: 230
  • Karma: 2
  • CiviCRM version: 3.3x and 4.x depending on site
  • CMS version: Joomla 1.5 or 1.7 depending on site
  • MySQL version: 5.0.92-community
  • PHP version: 5.2.17
Re: How to clear Mail Queue civicrm_mailing_event_queue?
December 20, 2013, 10:35:31 am
Thanks Lobo. Is there any way to 'mass' delete mailings? Another great feature would be the ability to tick off boxes and have an activity drop-down similar to working with contacts. Not sure if this is on the wish list or not (I would think that it is).

Barbara

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: How to clear Mail Queue civicrm_mailing_event_queue?
December 20, 2013, 11:00:27 am

no :( But you should be able to script a mass delete via the API

you might want to describe the other feature in  more detail in feature requests and suggestions

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • How to clear Mail Queue civicrm_mailing_event_queue?

This forum was archived on 2017-11-26.