Title: Not cleariing database cache
Last modified: March 4, 2024

---

# Not cleariing database cache

 *  Resolved [traqbar](https://wordpress.org/support/users/traqbar/)
 * (@traqbar)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/not-cleariing-database-cache/)
 * Hello,
 * I have been cleaning my database and dropping some tables – issue is that my 
   site is now crashing as aour plugin continues to try to run quieries on table
   that do not exist. I have tried clearing all the caches – deleting cache folders
   on the server but I do not know where the db chaces are being stored. I am geeting
   the below error message for example.
    - Why is this not clearing when I select to purge all?
    - How can I get this done now eg: manually?
 * Thanks
 * AH01071: Got error ‘PHP message: WordPress database error Table ‘production.wp_8_actionscheduler_actions’
   doesn’t exist for query SELECT a.action_id FROM wp_8_actionscheduler_actions 
   a WHERE 1=1 AND a.hook=’action_scheduler/migration_hook’ AND a.status IN (‘in-
   progress’) ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1 made by require(‘wp-blog-
   header.php’), require_once(‘wp-load.php’), require_once(‘/var/www/production/
   shared/wp-config.php’), require_once(‘wp-settings.php’), do_action(‘wp_loaded’),
   WP_Hook->do_action, WP_Hook->apply_filters, Action_Scheduler\Migration\Controller-
   >schedule_migration, Action_Scheduler\Migration\Scheduler->is_migration_scheduled,
   as_next_scheduled_action, ActionScheduler_Store->query_action, ActionScheduler_HybridStore-
   >query_actions, ActionScheduler_DBStore->query_actions, W3TC\DbCache_WpdbNew-
   >query, W3TC\DbCache_WpdbInjection_QueryCaching->query, W3TC\_CallUnderlying-
   >query, W3TC\DbCache_WpdbNew->query, W3TC\DbCache_WpdbInjection->query, W3TC\
   DbCache_WpdbNew->default_query;
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fnot-cleariing-database-cache%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/not-cleariing-database-cache/#post-17471902)
 * Hello [@traqbar](https://wordpress.org/support/users/traqbar/)
 * Thank you for reaching out and I am happy to help!
   Can you please sahre which
   caching method you are using for the Database Caching in the General settings?
 * If you are using DIsk, you should avoid it and if your server configuration and
   plan allows, you should use Redis or Memcached as memory-based cahcing solution
   for Database Caching instead of the Disk.
 * Thanks!
 *  Thread Starter [traqbar](https://wordpress.org/support/users/traqbar/)
 * (@traqbar)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/not-cleariing-database-cache/#post-17471973)
 * Hello,
 * I recently switched to Memcache as I installed it on my server.
 * Thanks
 *  Thread Starter [traqbar](https://wordpress.org/support/users/traqbar/)
 * (@traqbar)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/not-cleariing-database-cache/#post-17471981)
 * I see that there is an option to store transients in the database – is this a
   source of continued actions even when the plugin is disabled?
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/not-cleariing-database-cache/#post-17472028)
 * Hello [@traqbar](https://wordpress.org/support/users/traqbar/)
 * Thank you for your feedback.
   No, once the plugin is disabled or any module within
   the plugin, any sub-options for that specific module are no longer being utilized.
 * Thanks!
 *  Thread Starter [traqbar](https://wordpress.org/support/users/traqbar/)
 * (@traqbar)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/not-cleariing-database-cache/#post-17472463)
 * Okay, thanks for the info. I think that corresponds to my investigations.
 * Can you let me know how to manually remove the current cache as it does not work
   when I purge all.
 * Can you confirm if there is an issue with clearing the database caching?
 * Thanks.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/not-cleariing-database-cache/#post-17473147)
 * Hello [@traqbar](https://wordpress.org/support/users/traqbar/)
 * Thank you for your feedback.
   There is no issue with clearing the DB cache. From
   what I see, the issue is with the Action_Scheduler Are you using the Action Scheduler
   plugin?
 * If so, can you please disable this plugin and see if the problem persists?
 * Thanks!
 *  Thread Starter [traqbar](https://wordpress.org/support/users/traqbar/)
 * (@traqbar)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/not-cleariing-database-cache/#post-17473379)
 * Hello,
 * The Action Scheduler has been removed, but it does not remove its tables on deletion.
   I removed them manually but then I had these errors happen.
 * Is this actually Action Scheduler still trying to run even though I have uninstalled
   it?
 * Thanks
 *  Thread Starter [traqbar](https://wordpress.org/support/users/traqbar/)
 * (@traqbar)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/not-cleariing-database-cache/#post-17473422)
 * Right, I see, Okay I have to contact them at Automatic for how to get rid of 
   this plugin.
 * Thanks

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Not cleariing database cache’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [traqbar](https://wordpress.org/support/users/traqbar/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/not-cleariing-database-cache/#post-17473422)
 * Status: resolved