#4135 - 10 M records in Smartlist_queue table!
Hi Support,
We have deactivated the SmartList scheduler as we do not use this functionality (we are managing list criteria in Sugar directly). Doing that we thought this feature was not running but we noticed this morning that we had 10 Million records in the Smartlist_queue table.
20,000 records were created today in this table. Analysing the data we also found that there were a lot of contact duplicates in this table.
Can you please help us prevent this from happening? Thanks!
5 years ago
Hi Paul,
Thanks for reaching out. You should be able to deactivate the SmartList from the Schedulers page. So that I can take a closer look, can you navigate to SugarChimp's Health Status and click "view scheduler" under "SmartList Scheduler Status" and send a screenshot of what appears? You can send this privately to mailchimp@fanaticallabs.com.
Thanks! Heidi
5 years ago
We have just sent you the requested screenshots (email from Alex)
5 years ago
Thanks for that, Paul! I do see the SmartList is inactive. It's worth noting the Smartlist_queue will continue to grow as long as there are records being pushed to the queue. Making the scheduler inactive, however, will prevent those changes from being processed.
Can you tell me what your list sync settings are? To do this:
Also, are there lists you were previously syncing, but have since removed?
Thanks for your help in troubleshooting.
Heidi
5 years ago
Hi Heidi,
Thanks for your answer. So are you saying that we cannot prevent the records to be created? Can we purge that table without compromising the sync with Mailchimp?
Here is the setting we have:
5 years ago
Hi Paul,
As long as the top option (in your screenshot shown below) is initially set for Contacts, Targets, and Leads for all the lists you're syncing, the number wouldn't grow. However, it sounds like you may have previously (prior to turning off the scheduler) had other options set so it's worth checking the smartlist table for any records where active=1. You can set these to active=0 for all those rows to ensure nothing is queued to the table. Here's the statement:
UPDATE smartlist SET active='0';
You can also empty the smartlist by using the following:
TRUNCATE smartlist_queue;
Let me know if you have any trouble with this process.
Heidi