How To Fix A Slow WordPress Website By Clearing Stuck Transients
Summary
This guide helps you troubleshoot and resolve: How To Fix A Slow WordPress Website By Clearing Stuck Transients. Follow the steps below to fix the issue.
Common Causes
WordPress uses transients to store temporary data in your database, such as cached API responses, external service lookups, and WooCommerce product data. When transients become stuck or fail to expire correctly, they accumulate in the wp_options table. On shared Australian hosting environments, this database bloat increases CPU usage and database query times, which can cause your website to load slowly, freeze, or time out—particularly after adding new stock or updating product catalogues in WooCommerce.
Diagnose: Confirm Transients Are Causing the Slowness
Before clearing any database data, verify that transients are the likely cause of your slow website. Follow these diagnostic steps:
- Log in to your WordPress admin dashboard at
yourdomain.com.au/wp-admin. - Go to Tools > Site Health > Info tab.
- Expand the Database section and check the
wp_optionstable size. If this table is significantly larger than expected for your site size, transient bloat may be a contributing factor. - Install and activate the
Query Monitorplugin from the WordPress plugin repository. - Browse your website as a visitor would, then return to the admin dashboard and click the Query Monitor admin bar item.
- Review the Queries tab for slow queries targeting the
wp_optionstable. Queries involving_transient_timeoutor largeoption_valuefields indicate transient-related database strain. - Check your browser's developer tools (press F12) and review the Network tab. If page load times are high due to server response time rather than image or script loading, database bloat is a likely culprit.
How to Clear Stuck Transients Using Transients Manager
This guide uses the Transients Manager plugin, available from the official WordPress plugin repository.
Step 1: Back up your website
Before making any database changes, create a full backup of your WordPress files and database. Use your hosting control panel backup tool or a trusted WordPress backup plugin. This ensures you can restore your site if anything goes wrong.
Step 2: Install and activate Transients Manager
- Log in to your WordPress admin area at
yourdomain.com.au/wp-admin. - Go to Plugins > Add New.
- In the search field, type
Transients Manager. - Locate the plugin by WebAware, then click Install Now.
- After installation completes, click Activate.
Step 3: Navigate to the Transients screen
- In the left-hand admin menu, go to Tools > Transients.
- The Transients screen displays a table of all transients currently stored in your database.
Step 4: Identify stuck or expired transients
- Review the Transient Name column for entries that look unfamiliar or relate to plugins you no longer use.
- Check the Expiration column. Transients showing a past date or
No expirythat are no longer referenced by active plugins are candidates for removal. - Look for orphaned timeout entries. These appear as
_transient_timeoutentries without a matching_transientvalue. - Use the search box at the top of the table to filter by plugin name or keyword if you suspect a specific plugin is generating excessive transients.
Step 5: Delete the transients
- Tick the checkbox next to each transient you wish to remove, or select the header checkbox to choose all displayed transients.
- From the Bulk actions dropdown, select Delete.
- Click the Apply button to remove the selected transients from your database.
- Confirm the action when prompted.
Step 6: Test your website performance
- Visit your storefront as a customer would.
- Browse product pages, add items to the cart, and proceed to checkout to confirm functionality.
- Check page load times to verify the improvement.
- If the site remains slow, proceed to the troubleshooting section below.
Troubleshooting
Transients return quickly after clearing
If transients rebuild rapidly, a plugin or theme may be generating them excessively. Deactivate recently installed plugins one at a time to identify the cause. Pay particular attention to caching, security, import/export, and dropshipping plugins. Once you identify the problematic plugin, check for an update or contact the plugin developer for support.
Website remains slow after clearing transients
If page load times do not improve, slowness may be caused by other factors such as unoptimised images, large database tables, resource-intensive plugins, or insufficient hosting resources. Run a performance test using an online speed tool and review your hosting resource usage. If CPU usage remains high on shared hosting, consider optimising your theme and plugins or upgrading your hosting plan.
Transients page is missing or inaccessible
Ensure your user account has administrator privileges. If the Tools menu item is missing, your role may be restricted. Contact your site administrator for assistance. If you see a permission error after clicking Tools > Transients, deactivate security plugins temporarily to rule out access restrictions, then reactivate them after testing.
Plugin conflicts after activation
If Transients Manager causes admin errors or conflicts with other plugins, deactivate it via Plugins > Installed Plugins. You can then clear transients using your hosting control panel's database tool or contact support for assistance.
wp_options table directly in phpMyAdmin unless you are experienced with database management. Incorrect changes can break your WordPress installation.Next Steps
If clearing transients does not resolve your website performance issues, the underlying cause may be unrelated to the database. Review your hosting resource allocation, theme optimisation, and active plugin load. If you host with us, you don't need to do this yourself—just Open a Ticket and our Brisbane team will investigate the performance issue for you.
Still Having Issues?
💻 Open a Ticket