Disclosure: WebFin is reader-supported. If you buy hosting through links on this page, we may earn a commission at no extra cost to you. Commissions vary between providers and our ratings do not — here’s our full disclosure.
A slow database shows up in a specific way: cached pages are fine, and everything else drags. The dashboard is sluggish, search takes seconds and a cart or a member page feels heavy. The home page looks fast, because a visitor is served a stored copy. Before optimizing anything, confirm that the database is the problem, because the same symptoms come from a heavy page or a crowded server.
How to Fix a Slow Database: The Short Answer
Compare a cached page with an uncached one to confirm the database is involved. Back up. Then clean in this order: autoloaded options, post revisions, expired transients, orphaned metadata, and tables that only grow, such as plugin logs. Optimize the tables, enable object caching if your host offers it, and only then think about indexes or a bigger plan.
Step 1: Confirm It Is the Database
Load a cached article, then load the search results page or a logged-in dashboard. If the first is quick and the second is slow, the work happens after the cache. That points at queries.
Then count the queries. A query monitoring plugin shows how many run per page and which take longest. Hosts with application performance monitoring, such as Kinsta, show the same thing from the server side. Our guide to testing your site speed properly covers measuring both cases without fooling yourself.
⚠️ If both pages are slow, look at the server or the plan first. A crowded shared account produces the same feeling, and our guide to checking whether your host is throttling you shows where the faults appear.

Step 2: Back Up Before You Delete Anything
Every step below removes rows. Take a database copy off the server first, and know how to put it back. Our guide to backing up a WordPress site covers the four parts of a site, and the database is the one that matters here.
Cleanup plugins are convenient and blunt. Read what each option deletes before running it, and run one thing at a time so you can tell what helped.
Step 3: The Usual Suspects, in Order
Autoloaded options. WordPress loads part of the options table on every single request. Plugins that store large blobs there make every page slower, including cached ones building for the first time. This is the first place to look and the one most guides skip.
Post revisions. A long-running site keeps dozens of revisions per post, each with its own metadata rows. Limit them in wp-config.php and delete the old ones.
Expired transients. Temporary cached values that never got cleaned up, sometimes tens of thousands of rows.
Orphaned metadata. Rows in post and user metadata left behind by plugins you removed. They are never read and always scanned.
Tables that only grow. Activity logs, 404 logs, analytics tables, abandoned carts, session tables. These are the ones that turn a 30 MB database into a gigabyte.

Step 4: Optimize, Then Cache
After deleting rows, run the optimize operation on the affected tables so the space is actually reclaimed. Most hosting panels expose this in their database tool, and cleanup plugins offer it too.
Then look at object caching. Redis or Memcached keeps query results in memory, which removes repeated work on uncached pages. Managed platforms and servers commonly offer one, and shared plans commonly do not. That is one reason the same site feels different on a VPS. Our guide to reducing TTFB covers where object caching sits among the other layers.
Step 5: Indexes and Queries
If monitoring names one slow query, that is the fix. Add an index on the column it filters, or change the plugin setting that runs the query on every page. Adding indexes by hand is a developer task, and it belongs on a staging copy first.
Meta queries are the usual culprits, because they scan a table that grows with every post and every user. A site whose search filters by several custom fields does exactly that on each request. Our list of hosting for membership sites covers as the uncached case.
Step 6: When It Is the Plan
Database size and table count have ceilings on shared hosting. Bluehost, a Newfold Digital brand, publishes 5 GB for a single database and 5,000 tables or 10 GB across all of them, which is the kind of limit a bloated site meets before it runs out of disk.
A shared database server is also shared: your queries wait behind other accounts’, and no amount of cleaning changes that. If the site is clean and still slow, the next step is a server, as our guide to moving from shared to VPS covers.
| Host and plan | Limit | Where it's stated |
|---|---|---|
| Bluehost shared | 50,000 inodes — soft limit | Hosting Inode Limit article |
| Bluehost shared | 200,000 inodes — AUP threshold | Server Resource Limitations |
| Bluehost shared | 1,000,000 inodes — TOS violation | Hosting Inode Limit article |
| Bluehost shared | 5,000 tables or 10 GB, all databases | Server Resource Limitations |
| Bluehost shared | 5 GB per single database | Server Resource Limitations |
| Bluehost Starter | 100 MB per mailbox | Shared hosting prices page |
| WP Engine Startup | 25,000 monthly visits, then overage handling | Plan pages |
| WP Engine, by tier | 25,000 to 400,000 monthly visits | Plan pages |
| Rocket.net Starter | 25,000 monthly visits, 1 site, 10 GB storage | Plan pages |
| Namecheap EasyWP | 50,000 / 200,000 / 500,000 monthly visits by tier | Plan pages |
| Kinsta Starter | 25,000 monthly visits | Plan pages |
| Scala Hosting VPS | Priced per unit: $3 per core, $1 per gigabyte | Plan pages; adjustable anytime |
| HostGator shared | Weekly backups described as a courtesy, not guaranteed | Hosting terms |
| Liquid Web | Dedicated resources at every tier; no shared plan | Plan pages |
| InterServer Standard | Unlimited storage, bandwidth, email and websites | One plan, no tiers |
| GreenGeeks Lite | One website only | Plan pages |
| IONOS Plus | One email account bundled per plan | Plan pages |
| Hostinger, all plans | Not published | Hostinger support article, 28 Aug 2026 |
| Bluehost Starter | 10 GB NVMe storage | Plan pages, as listed in a 2026 audit |
| InMotion Core | One site, 10 email accounts, SSD storage; NVMe from Launch | TechRadar and a 2026 review |
| SiteGround shared | Shell access by tier — not recorded | Not stated on the plan pages we read, 20 Sep 2026 |
| Bluehost shared | Shell access by tier — not recorded | Not stated on the plan pages we read, 20 Sep 2026 |
| Hostinger, all plans | Shell access by tier — not recorded | Not stated on the plan pages we read, 20 Sep 2026 |
| Cloudways servers | Search service (OpenSearch, Elasticsearch) — not recorded | Not stated on the plan pages we read, 20 Sep 2026 |
| Azure | B1S virtual machine free for 12 months for new customers | agentdeals 2026 |
| Bluehost cPanel | Included on shared plans: Hosting tab → Quick Links → cPanel, or Websites → Overview; also domain/cpanel or :2083; no separate login; Bluehost Cloud does not include cPanel; Softaculous in cPanel | Bluehost knowledge base (official) |
| Bluehost email | Free cPanel mailboxes with every hosting plan; 30-day Professional Email trial with new hosting | HostAdvice guide, 2026 |
| Bluehost migration | Free for qualifying WordPress sites within 30 days of signup via the Bluehost Site Migrator plugin; one site per hosting purchase; malware-free; reviewed by experts; otherwise paid professional migration; about 2–3 days; WordPress.org sites on new shared accounts | Bluehost knowledge base and migration page (official); TechRadar |
| Bluehost SSL | Free SSL listed among standard hosting features; Premium SSL optional at $89.88 | Truehost 2026; our tables |
| Bluehost status | Official status page at pulse.bluehost.com/status: operational, degraded, partial and major outage levels; uptime statistics and incident history; uptime guarantee varies by product | Bluehost (official) |
| Cloudflare Pages (free) | Unmetered bandwidth for static assets; 500 builds a month, one at a time; up to 100 custom domains per project; 20,000 files per site; Workers recommended for new SSR projects | GuptaDeepak, Puter, bootstrap.build 2026 |
| Cloudflare Registrar | At-cost registration and renewal, no upsells, free WHOIS privacy and DNSSEC, 400+ TLDs; Cloudflare nameservers required; 60-day transfer lock; minimal support on free accounts | domains.cloudflare.com (official); StartupOwl, Mystrika 2026 |
| Contabo | Throttles port speed after 10 days over the traffic allowance instead of charging overage | LearnWithHasan, 2026 |
| DigitalOcean | Powered-off Droplets still bill; 99.99% SLA published | CostBench, LinuxTeck, 2026 |
| DigitalOcean App Platform | Three free static sites, 1 GiB outbound transfer each a month | agentdeals 2026 |
| DreamHost Email | 3-month free trial with every web hosting plan; unlimited on DreamPress, VPS and Dedicated | DreamHost email page, Oct 2026 |
| DreamHost status | Help article 'Current Status Notifications' points to the official status page; contact technical support if your site has issues while systems show operational; incident history on StatusGator | DreamHost help center (official); StatusGator |
| DreamHost VPS | Managed; unmetered bandwidth; daily backups; 30-day refund; no four-year term | FitGap; Website Builder Expert |
| Dynadot | Free WHOIS privacy on every domain | DomainOffer, 2026 |
| FatCow | One shared plan; 30-day money-back; no free migration | WebsiteSetup review |
| GitHub Pages | Free for public repositories; about 100 GB bandwidth a month (soft); 1 GB site size; about 10 builds an hour | Puter, bootstrap.build 2026 |
| GoDaddy Website Builder | Free plan with GoDaddy branding; SEO tools from Premium; free domain on annual plans | TechRadar and Website Builder Expert, 2026 |
| GoDaddy Windows Hosting | Plesk; supports latest .NET Framework 3.5 and 4.8, .NET Core 8 and 9; end-of-life .NET versions removed from Q2 2025 | GoDaddy help center (official) |
| Google Cloud | $300 credit for new customers (90 days); always-free tier incl. 1 e2-micro VM a month (us-west1, us-east1, us-central1), 30 GB HDD, 5 GB Cloud Storage; 1 GB free egress a month from North America | Google Cloud free page (official); FreeTier.co and NicheeLab guides, 2026 |
| Heroku / Fly.io free tiers | Heroku free tier removed 2022; Fly.io no free tier for new accounts since Oct 2024 | agentdeals 2026 |
| Hetzner | Four pricing actions in 2026: setup fees (Feb), +30–37% (1 Apr), dedicated setup fees (29 Apr), and cloud rises of +33% to +169% by line (15 Jun) | PrivateDevOps, Jun 2026; Hetzner price page |
| HostGator status | Official status page at hostgator.com/status: component indicators, uptime statistics, incident history, maintenance labelled separately; if operational but site down, clear cache, try another network, check DNS, then contact chat or phone | HostGator (official) |
| HostGator VPS | Self-managed and managed lines; discount on the first invoice only; cPanel priced separately; free migration from third-party hosts; 30-day refund window | HostGator VPS pages and price chart (official) |
| Hostinger Cloud limits | Startup 4 GB / 4 cores; Professional 6 GB / 5 cores; Enterprise 12 GB / 6 cores; Enterprise Plus 15 GB / 8 cores | Hostinger support (official) |
| Hostinger migration | Free website migration via a Migration Request Form; Hostinger handles it; unlimited for all customers; usually under 48 hours | Hostinger compare page (official, Jul 2026); WebsitePlanet; CrazyEgg |
| Hostinger Premium | Up to 100 mailboxes as a free Business Email trial, usually for the first year; then they renew as paid Business Starter ($1.59 a mailbox a month) | DEV guide, Aug 2026; Hostinger support (official); TechRadar |
| Hostinger status | Official status page with components: datacenters (US, UK, NL, DE, FR, LT, SG, IN, BR and more), hPanel, Mail, DNS, CDN, VPS API; tracked by StatusGator, IncidentHub and OpenStatus | StatusGator; IncidentHub; OpenStatus, Oct 2026 |
| Hostinger Website Builder | No free plan; 14-day trial; Business needed for full AI tools and ecommerce | Startups.co.uk and Website Builder Expert, 2026 |
| Hover | Founded 2008 by Tucows (Canada); free WHOIS privacy; no pre-checked add-ons; ICANN-accredited (IANA ID 69) | ProfileTree; DomainOffer, 2026 |
| InMotion Hosting Plus | Python, Node.js, Ruby and Git on shared plans | InMotion pricing page (official) |
| InMotion VPS | Launch Assist free server setup on all VPS; management options self, core and full | CB Insights 2026 |
| InterServer VPS | Price lock; 30-day refund; US-only locations; older hardware per a competitor | whtop; Expanse (competitor), Aug 2026 |
| IONOS dedicated | Configurable hardware, choice of data center, RAID options, unlimited bandwidth on listed plans | Geekchamp; Cybernews |
| IONOS domains | Free WHOIS privacy; Wildcard SSL for the initial domain contract | DomainOffer; Thewearify citing IONOS's .com page |
| IONOS MyWebsite Now | Free domain year one, SSL, email inbox (2 GB Starter, 12 GB+ higher); one site per subscription; 24/7 phone support; store versions cost more | ExpertMarket; TechRadar; ionos.ca |
| IONOS status | Official IONOS US status page with components including Control Panel, DNS, VPS, Webmail, SSL and Customer Hotline, tracked by StatusGator | StatusGator |
| iPage | One main shared plan; free SSL; free domain year one; 30-day money-back | DiggityMarketing, LarryLudwig 2026 |
| Kinsta infrastructure | Google Cloud C2 VMs and Premium Tier network for all sites; C3D in some data centers ('Boosted'), 20–50% faster response than C2 in Kinsta's tests; 37 locations on its 2026 page (older pages list 27 to 36) | Kinsta (official) |
| Linode (Akamai Cloud) | Owned by Akamai since 2022; linode.com redirects to akamai.com; Linux-only KVM; 24/7 phone reported | LearnWithHasan, 2026 |
| Liquid Web dedicated | 100% network uptime SLA; backups included on all plans; managed and self-managed options | Bluehost blog; Cybernews; Geekchamp |
| Magento 2.4.x requirements | 8 GB RAM recommended (4 GB works with performance issues); PHP 8.3; OpenSearch; current releases need OpenSearch 3; Magento 2.4.6 regular support ended 11 Aug 2026; MySQL 8.0 support ended 30 Apr 2026; Elasticsearch 7.17 ended 15 Jan 2026 | Cloudways support doc; Findstack citing Adobe's requirements page (18 Aug 2026); EveryHost 2026 |
| Magento hosts | Cloudways: one-click Magento install; Liquid Web: Magento among its managed applications; hosting.com: Magento among supported applications (stack unverified) | Cloudways support; Findstack, Aug 2026 |
| Microsoft Azure | $200 credit for 30 days (unused credit lost); 12 months of free services for new customers; always free App Service: 10 apps, 1 GB, 1 hour of compute a day | Azure free-services page and Microsoft Learn (official); agentdeals 2026 |
| Namecheap Private Email | 60-day free trial; storage 5 / 10 / 15 GB a mailbox; plans renamed Launch / Expand / Scale from 2 June 2026 | Namecheap email page and KB |
| Namecheap Reseller limits | Nebula: 30 email accounts in total, 50 messages an hour per domain; Galaxy: 200 an hour, unlimited mailboxes; WHMCS license prices rose Jan 8, 2026 | Namecheap knowledge base and blog (official) |
| Namecheap status | Knowledge base article points to Namecheap's status page for maintenance and hosting server notices | Namecheap (official) |
| Namecheap Stellar | Backups about twice a week, not guaranteed; Plus and Business get daily AutoBackup | Namecheap shared hosting page, Oct 2026 |
| Netlify (free) | Credit-based since 2026: 300 credits a month, hard cap; site pauses when credits run out | bootstrap.build, agentdeals 2026 |
| Oracle Cloud | Always Free: Ampere A1 4 OCPU/24 GB per Oracle docs as read; cut to 2 OCPU/12 GB for free-only accounts per InfoQ (Jul 2026); 2 AMD micro VMs; 200 GB block storage; $300 credit for 30 days; idle reclamation; frequent out-of-capacity errors | Oracle docs; InfoQ; TerminalBytes; Oracle community, 2026 |
| OVHcloud VPS | Anti-DDoS, daily backup, unlimited traffic in EU/NA; APAC quotas (VPS-1: 500 GB); self-managed; 99.9% SLA advertised | iTechGuides, Aug 2026; OVHcloud US announcement, Sep 2025 |
| PHP versions | Each branch: 2 years active + 2 years security. 8.1 end of life 31 Dec 2025; 8.2 security until 31 Dec 2026; 8.3 security until 31 Dec 2027; 8.4 active until 31 Dec 2026, security until 31 Dec 2028; 8.5 active, security until 2029 | php.net supported-versions (official); Remi's repository blog, Jan 2026 |
| Porkbun | Free WHOIS privacy, free Let's Encrypt SSL (incl. wildcard), up to 20 email forwards, URL forwarding, DNS on Cloudflare; email hosting $2 an inbox a month, annual | AffNinja and Hostinger's registrar guide, 2026 |
| Pressable | WP Cloud (WordPress.com infrastructure); CDN, daily and hourly backups, staging, Jetpack Security, WAF, free migrations; 24/7 WordPress support; no email hosting; WordPress only | CloudTweaks; whtop; Blogrecode 2026 |
| PythonAnywhere | Free Beginner: 1 web app on a pythonanywhere.com subdomain, 100 CPU-seconds a day, 512 MB disk, outbound access limited to allowed sites; Developer $10 a month | Fly.io comparison (Sep 2026, a competitor); agentdeals 2026 |
| Railway | $5 one-time trial credit for 30 days, then per-second billing | agentdeals 2026 |
| Render (free web service) | Spins down after 15 minutes idle, about a minute to wake; 750 free instance hours a month; free Postgres expires after 30 days; 512 MB RAM | Fly.io comparison (Sep 2026); agentdeals 2026 |
| SiteGround | No VPS or dedicated servers; cloud hosting with auto-scaling instead | CyberInsider; Bitcatcha; FitGap 2026 |
| SiteGround email | Unlimited email accounts on shared plans; no email-only plans | Tooltester; Bitcatcha; CyberInsider 2026 |
| SiteGround migration | Free professional migration on select plans only (plans not specified in source) | CrazyEgg |
| SiteGround status | status.siteground.com, per a third-party guide; confirm through SiteGround's help center | GMapsWidget (third-party) |
| Vercel Hobby | Free for personal, non-commercial use; 100 GB bandwidth; site pauses above limits | Puter, bootstrap.build 2026 |
| Vultr | 33 regions; hourly billing capped at 672 hours a month; no free tier or trial | FrontDesk Review, CostBench, 2026 |
| Windows hosting market | AccuWeb ended Windows personal hosting Sep 2025; Reg.ru ended Windows shared plans Feb 2026; Windows costs more due to Microsoft licenses | whtop; TechRadar |
| WP Engine status | Official status page with components: North America, Europe, Asia/Pacific, CDN, SSL, Mail, Backups, User Portal, SFTP, chat, phone and ticket support; no published maintenance feed; 8+ years of history on StatusGator | StatusGator |
| GitHub Student Developer Pack: DigitalOcean | Ended: the $200 credit closed after 31 Jul 2026; redeemed credits expired 1 Aug 2026 | Capital & Compute citing the pack changelog, Sep 2026 |
| GitHub Student Developer Pack: Namecheap | Free .me domain for one year with an SSL certificate; verification lasts two years | GitHub Education pack page, 2026 |
Habits That Keep It Fast
Limit revisions. Set a cap once in wp-config.php: three or five keeps the history useful without the rows.
Prune logs monthly. Any plugin that writes a row per visit needs a retention setting, and most have one turned off by default.
Delete plugins you stopped using. Deactivating leaves the tables and the metadata behind.
Watch the size. Note the database size once a month. A number that doubles without new content is a plugin misbehaving. Our guide to setting up automatic backups makes the safety net automatic while you investigate.

What a Cleanup Actually Changed
Expect the dashboard and search to improve, because those pages were doing the extra work. Expect cached article pages to look the same, because they were never touching the database in the first place.
If nothing improved, the cleanup was not the problem. Put the effort into monitoring instead: one named slow query is worth more than a hundred thousand deleted rows, and that is what application performance monitoring is for.
Two Cases Where Cleaning Will Not Help
A store with real order history. Orders, customers and subscriptions are the business, and they are supposed to grow. The answer is indexes, object caching and a bigger server rather than deletion, which our list of hosting for ecommerce covers.
A long archive. A publication with twenty thousand posts has a large database legitimately. Our list of hosting for news sites covers planning for that rather than fighting it.
One Number Worth Writing Down
Before you clean anything, note two figures: the size of the database and the number of queries on your slowest uncached page. After the cleanup, note them again.
Without those, a cleanup is a feeling rather than a result, and the next plugin that bloats the options table will go unnoticed for months. Our guide to setting up a staging site covers doing the risky part on a copy first.
Moreover, this guide covers related questions: How to Move Away From an EIG Brand.
How We Research
This guide describes procedures rather than measurements, and it runs no tests. The database and table limits named here come from the providers’ own documentation, read on 20 September 2026, and sit in our tables.
Individual plugins and their table designs are outside what we review, because the behavior depends on the plugin rather than the host. The criteria behind our scores are on our about page, and our guide to fixing a 500 error covers the case where the site fails outright rather than dragging.
Slow Database FAQ
Compare a cached page with an uncached one. If the article loads quickly and the search results or dashboard drag, the work happens after the cache. That points at queries.
Autoloaded options holding large values, post revisions, expired transients, orphaned metadata from removed plugins, and tables that only grow such as activity or 404 logs.
It reclaims space after you delete rows, which is worth doing as the last step of a cleanup. On its own, without deleting anything, it changes very little.
It removes repeated query work on uncached pages, which helps dashboards, carts and member areas. Managed platforms and servers commonly offer Redis or Memcached, and shared plans commonly do not.
It depends on the plan rather than on WordPress. Bluehost publishes 5 GB for a single database and 5,000 tables or 10 GB across all of them, and a bloated site can meet those before it runs out of disk space.
The Verdict
Confirm the diagnosis first, because a heavy page and a crowded server feel identical from the outside. Then work in order: autoloaded options, revisions, transients, orphaned metadata, growing tables. Back up before each step and change one thing at a time.
If the database is clean and the site is still slow, the problem is capacity rather than housekeeping. That means object caching, an index on the query monitoring named, or a server of your own. Our list of hosting for developers records which hosts put database access and object caching within reach.
