WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Younes JFR. v4.2.0

Advanced Database Cleaner

Clean database by deleting orphaned data such as 'revisions', 'expired transients', optimize database and more...

Advanced Database Cleaner

The facts

Rating
4.9★ from 1,950
Active installs
100k+
Price
Free
Last updated
20 Aug 2026
Added
Sep 2015
Requires WP
5.0.0
Tested up to
WP 7.1
Requires PHP
7.0
Downloads
2,968,858

Our analysis

AI-assisted

Advanced Database Cleaner is a WordPress plugin that helps you optimise your database by removing unnecessary data such as old revisions, spam comments, and expired transients. It aims to improve site performance by reducing database bloat, making backups faster, and enhancing query performance.

The plugin offers features like detailed previews of items to be cleaned, powerful filters, and automation tools to schedule cleanups. It is suitable for users looking to maintain a lean and efficient WordPress installation, particularly those managing busy or older sites.

Best for: This plugin is best for WordPress site owners who want to optimise their database and improve site performance.

What it does well

  • Removes various types of unused data from the database
  • Offers detailed previews before cleaning
  • Includes automation tools for scheduled cleanups
  • Displays database size that will be freed before cleaning
  • Allows sorting of cleanup preview tables

Where it falls short

  • Feature information is limited to the author's description
  • Premium version offers additional features not included in the free version

Verdict

Advanced Database Cleaner provides useful tools for managing database clutter, making it a practical choice for users focused on maintaining their site's efficiency.

From the developer

Younes JFR.'s own description of Advanced Database Cleaner, lightly tidied.

Advanced Database Cleaner is a complete WordPress optimization plugin that helps you clean up database clutter and optimize database performance by removing unused data such as old revisions, auto drafts, spam comments, expired transients, unused post meta, duplicated post meta, unused user meta, etc.

It is designed to help you improve website speed by reducing database bloat and ensuring a lean, efficient WordPress installation. It also provides detailed previews, powerful filters, and automation tools to safely control what gets cleaned.

With the ✨Premium version✨, you can unlock even more advanced features, such as detecting and cleaning orphaned options, orphaned tables, orphaned post meta, orphaned user meta, orphaned transients, and orphaned cron jobs. It also gives you clear insights into how your database evolves over time through built-in analytics, lets you monitor plugin and theme activity to better understand when new data is created or when leftovers appear, and much more.

Why use Advanced Database Cleaner❓

👉 Get a clear overview: see how many tables, options, transients, cron jobs, metadata… records you have, and identify which are unused or orphaned.

👉 Save time: configure what to clean, how far back to keep data, and how often to run automations. The plugin will then handle recurring cleanups for you.

👉 Save space and improve performance: removing unnecessary data reduces database size, makes backups faster, and can improve query performance, especially on busy or older sites.

✅ Main Features

  • Delete old revisions of posts and pages
  • Delete old auto-drafts
  • Delete trashed posts
  • Delete pending comments
  • Delete spam comments
  • Delete trashed comments
  • Delete pingbacks
  • Delete trackbacks
  • Delete unused post meta
  • Delete unused comment meta
  • Delete unused user meta
  • Delete unused term meta
  • Delete unused relationships
  • Delete expired transients
  • Delete duplicated post meta
  • Delete duplicated user meta
  • Delete duplicated comment meta
  • Delete duplicated term meta
  • Delete oEmbed caches
  • Display the database size that will be freed before cleaning for each item type, and the total size to be freed
  • Display and preview items to clean before performing a database cleanup to ensure safety
  • Sorting capability in cleanup preview tables (by name, date, size, site id, etc.)
  • View options value content in original or formatted mode for serialized or JSON structures (and other items types as well).
  • Keep last X days of data: clean only data older than the number of days you specify

✅ Automation

  • Schedule database cleanup to run automatically
  • Create scheduled cleanup tasks and specify which items each task should clean
  • Schedule database optimization and/or repair to run automatically
  • Execute scheduled tasks based on several frequencies: once, hourly, twice a day, daily, weekly, or monthly
  • Specify the “keep last X days” rule for each item type in a scheduled task
  • Pause/Resume scheduled tasks whenever needed
  • Create as many scheduled cleanup tasks as needed and specify what each task should clean

✅ Tables

  • Display the list of database tables with information such as number of rows, table size, engine, etc.
  • Sort tables by any column such as table name or table size
  • Display table contents along with their column structure, indexes, status, and more
  • Detect and filter tables with invalid prefixes (tables that do not belong to the current WordPress installation), this can be enabled or disabled from the settings page
  • Optimize database tables (the plugin notifies you when tables require optimization)
  • Repair corrupted or damaged database tables (the plugin notifies you when tables are corrupted)
  • Convert tables to InnoDB for better performance
  • Empty rows of database tables
  • Clean and delete database tables

✅ Options

  • Display the options list with information such as option name, option value, option size, and autoload status
  • Sort options by any column such as option name or option size
  • View option value content in original or formatted mode for serialized or JSON structures.
  • Notify you if autoloaded options are large and help reduce autoload size for better performance
  • Detect large options that may slow down your website
  • Set option autoload to yes/no
  • Clean and delete options

✅ Cron Jobs

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for making sites fast.

WP-Optimize

Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify f...

Free 1M+ installs 4.8★ (2,606)
LiteSpeed Cache

All-in-one unbeatable acceleration & PageSpeed improvement: caching, image/CSS/JS optimization...

Free 7M+ installs 4.8★ (2,764)
EWWW Image Optimizer

Comprehensive image optimization with WebP, AVIF, Lazy Load, and more. Optimize images automatically for Faste...

Free 1M+ installs 4.8★ (1,838)
Under Construction

Easy to use Under Construction Page & Coming Soon Page. Enable Under Construction Mode in seconds & sh...

Free 600k+ installs 4.8★ (1,285)
Smush

Smush

93

Compress and optimize images, enable lazy load, serve WebP & AVIF, and speed up your site with a global im...

Free 1M+ installs 4.8★ (6,051)
Converter for Media

Speed up your website by using our WebP & AVIF Converter. Optimize images and serve WebP and AVIF images i...

Free 500k+ installs 4.9★ (1,097)