ES
navigate Enter open Esc close
Database & WordPress

DB Cleaner & SQL Optimizer

Generate SQL queries to clean your WordPress or PrestaShop: revisions, expired transients and table optimization.

Important: Always perform a full database backup before executing any SQL queries. DELETE queries are permanent and irreversible. Run the SELECT COUNT(*) versions first to see how many records will be removed.
Platform

Default WordPress prefix is wp_. Default PrestaShop prefix is usually ps_.

Select items to clean
Post Revisions
Old draft versions auto-saved when editing posts.
High impact
Expired Transients
Expired plugin cache entries stored in options table.
High impact
Spam & Trash Comments
Comments marked as spam or moved to trash.
Medium impact
Trashed Posts
Posts, pages, and custom post types in trash.
Medium impact
Orphan Postmeta
Postmeta entries without associated post.
Low impact
WooCommerce Sessions
Expired customer sessions in woocommerce_sessions table.
Medium impact
Generated SQL Queries

Share this tool

Help others by sharing this free tool.