Speed and load
Database cleanup
Over the years a database collects things the site stopped needing long ago: thousands of post revisions, expired temporary data, logs and sessions, tables of plugins removed three years ago. All of that slows down queries and backups. I remove the junk without touching anything blindly — and always with a backup.
Access to the database (phpMyAdmin or SSH) and the site files.
This is for you if
The database weighs gigabytes
While the site has a hundred pages.
Your host warns about the database size
Or backups stopped being created.
The site and admin are slow
Especially search, filters and saving.
You removed plugins long ago
But their tables and settings are still there.
What is included
Backup
A full database backup before any change; I check that it restores.
Analysis
Which tables are the heaviest and why.
Junk removal
Revisions, trash, spam comments, expired temporary data, old sessions and logs.
Plugin leftovers
Tables and settings of removed extensions — only after checking nothing uses them.
Indexes and autoload
Indexes for slow queries; in WordPress, less data loaded on every page.
How I work
- You give access — To the database and files.
- Backup and analysis — I show what can be removed and how much.
- Cleanup — At a quiet time for the site.
- Check — Site, admin, forms; database size before and after.
Price
Usually 1–3 hours. If the database is very large or custom tables need to be examined, I’ll estimate after the analysis.
Not included: moving the database to another server, restructuring tables of custom modules.
Can I fix it myself?
The main rule: before any cleanup, take a full database backup and make sure it opens. Cleanup plugins are handy but delete “by pattern”, including things that are still needed. Don’t drop tables by name until you’re sure the extension is really gone.
Questions and answers
Can data be lost?
I only remove what has been checked, and always with a backup. If anything goes wrong, the database is restored in minutes.
Will the site go down?
Usually not. Heavy operations are done at night or at the quietest hours.
How often should it be cleaned?
After the one-off cleanup I set limits (for example, on revisions), so junk builds up much more slowly.
More in «Speed and load»
Contact
Let’s discuss your website
Message me in any messenger about the project and what you need — I’ll reply within a business day. The initial audit and estimate are free.