WordPressPerformanceTooling
NINJA Database Cleaner
Reclaim space and speed up your database: purge post revisions, auto-drafts, trashed items, spam comments, expired transients and orphaned meta.
// features
- Post Revisions — every time you save a post, WordPress stores an additional revision row. These add up fast on active sites.
- Auto-Drafts — the editor silently creates an auto-draft every time you open a new-post screen. Most are never published.
- Trashed Posts — posts moved to the Trash but never permanently deleted, along with their associated meta.
- Spam Comments — comments flagged as spam by Akismet or manually.
- Trashed Comments — comments moved to the Trash.
// overview
What it does
NINJA Database Cleaner clears the cruft that accumulates in every WordPress database — old post revisions, auto-drafts, trashed and spam content, expired transients and orphaned metadata — with a preview of exactly how many rows each task will remove before you commit. Optional scheduled cleanups keep things tidy automatically.
Self-contained and free — built in the ninja.si plugin workshop. Need a tailored variant? Open a brief via /request.
// adapt or extend
Need NINJA Database Cleaner customized?
Open a ticket and we'll scope the change. We add features, swap providers, or branch the plugin entirely if you need something close-but-not-quite.