Title: CodingBunny Database Cleaner
Author: CodingBunny
Published: <strong>2026 年 6 月 11 日</strong>
Last modified: 2026 年 6 月 18 日

---

搜索插件

![](https://ps.w.org/codingbunny-database-cleaner/assets/banner-772x250.png?rev=
3569117)

![](https://ps.w.org/codingbunny-database-cleaner/assets/icon-256x256.png?rev=3569117)

# CodingBunny Database Cleaner

 作者：[CodingBunny](https://profiles.wordpress.org/codingbunny/)

[下载](https://downloads.wordpress.org/plugin/codingbunny-database-cleaner.1.2.0.zip)

 * [详情](https://cn.wordpress.org/plugins/codingbunny-database-cleaner/#description)
 * [评价](https://cn.wordpress.org/plugins/codingbunny-database-cleaner/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/codingbunny-database-cleaner/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/codingbunny-database-cleaner/#developers)

 [支持](https://wordpress.org/support/plugin/codingbunny-database-cleaner/)

## 描述

CodingBunny Database Cleaner is a straightforward yet powerful WordPress plugin 
that helps you analyze, filter, and safely remove unnecessary data from your database.
Whether it’s orphaned options, leftover post meta, unused comments, transients, 
or more, the plugin gives you a clear picture of what’s in your database and lets
you clean it up with confidence.

The plugin automatically detects the likely origin of each database entry — plugin,
theme, or WordPress core — so you always know what you’re dealing with before you
delete anything.

### Why use CodingBunny Database Cleaner?

 * See what’s really in your database: get a clear overview of all entries, with
   auto-detected source.
 * Clean safely: every action is protected by nonces, role checks, and confirmation
   prompts. No accidental deletions.
 * Improve performance: a leaner database means faster queries, smaller backups,
   and a snappier site.
 * Automate cleaning: schedule automatic cleanups for greater peace of mind.
 * Help the community: if the plugin misidentifies the owner of a database entry,
   you can contribute a correction to help everyone.

#### Features

**Tables**
 * Optimize, repair, and convert tables to InnoDB * Delete unused tables*
Table source detection

**Options**
 * Delete unused options * Manage and optimize autoloaded options

**Posts**
 * Delete posts, revisions, auto drafts, trash * Set up scheduled automatic
cleanup

**Post Meta**
 * Delete unused and orphaned post meta entries * Set up scheduled
auto clean

**Comments**
 * Delete spam, trashed, and orphaned comments, pingbacks and trackbacks*
Set up scheduled auto clean

**Comment Meta**
 * Delete unused and orphaned comment meta * Set up scheduled auto
clean

**User Meta**
 * Delete unused and orphaned user meta * Set up scheduled auto clean

**Term Meta**
 * Delete unused and orphaned term meta * Set up scheduled auto clean

**Term Relationship**
 * Delete unused and orphaned term relationships * Set up 
scheduled auto clean

**Post Types**
 * Delete unused post types

**Transients**
 * Delete unused and expired transients * Set up scheduled auto clean

**Cron Jobs**
 * Delete unused cron jobs * Set up scheduled auto clean

**Action Scheduler**
 * Delete completed, failed, and canceled actions * Set up 
scheduled auto clean

**oEmbed Caches**
 * Delete all oEmbed caches or only expired ones * Set up scheduled
auto clean

**Full Database Cleanup**
 * Clean your entire database in a single action

**General Tools**
 * Multisite support: clean individual subsites or the entire 
network * Detailed filtering, searching, and sorting in every module * Paginated
results for efficient handling of large databases * Safety confirmations and nonce
verification on every action * Contribute ownership corrections to help the community

## 屏幕截图

[[

[[

[[

## 安装

#### 1. Via WordPress dashboard

 * Go to **Plugins  Add New**.
 * Search for “codingbunny-database-cleaner”.
 * Click **Install Now**, then **Activate**.

#### 2. Via upload

 * Download the plugin ZIP from the WordPress plugin directory.
 * Go to **Plugins  Add New  Upload Plugin**.
 * Select the ZIP file and click **Install Now**, then **Activate**.

#### 3. Via FTP

 * Download and unzip the plugin.
 * Upload the `codingbunny-database-cleaner` folder to `/wp-content/plugins/`.
 * Activate it from the **Plugins** screen in your WordPress dashboard.

#### Where is the plugin?

After activation, go to **Tools  DB Cleaner** in your WordPress dashboard.

## 常见问题

### Is this plugin safe to use?

Yes. All cleanup actions require administrator privileges and are protected by nonces
and confirmation prompts. That said, always back up your database before running
any cleanup — this is essential, not optional.

### Can I undo a deletion?

No. Once data is deleted, it cannot be automatically restored. Please take a full
database backup before performing any cleanup operations.

### Does it work with Multisite?

Yes. The plugin is fully compatible with WordPress Multisite. You can choose to 
clean individual subsites rather than the entire network.

### How does origin detection work?

The plugin checks table names, option names, and meta keys against a built-in detection
database to identify which plugin or theme likely created each entry. If it gets
something wrong, you can submit a correction to help improve detection for everyone.

### Does it work on large databases?

Yes. Results are paginated and queries are optimized for performance. On very large
databases, we recommend running cleanups in smaller batches.

### What PHP version is required?

PHP 8.2 or later.

## 评价

![](https://secure.gravatar.com/avatar/1e0616296c4d26d92cb64457f967d9ac34aae2b2b1980e1fcf56af41183c5739?
s=60&d=retro&r=g)

### 󠀁[Simple and Useful Database Cleanup Plugin](https://wordpress.org/support/topic/simple-and-useful-database-cleanup-plugin/)󠁿

 [Sarankumar](https://profiles.wordpress.org/sarankumar/) 2026 年 6 月 15 日

This plugin does exactly what it promises and helps keep the WordPress database 
clean without unnecessary complexity. The interface is straightforward, and the 
cleanup process is easy to understand even for non-technical users. One suggestion
for improvement: instead of adding a separate DB Cleaner item in the main WordPress
admin menu, it would feel more natural and consistent with WordPress conventions
to place it under Tools  DB Cleaner. Overall, a useful plugin for routine database
maintenance.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/codingbunny-database-cleaner/reviews/)

## 贡献者及开发者

「CodingBunny Database Cleaner」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ CodingBunny ](https://profiles.wordpress.org/codingbunny/)

[帮助将「CodingBunny Database Cleaner」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/codingbunny-database-cleaner)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/codingbunny-database-cleaner/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/codingbunny-database-cleaner/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/codingbunny-database-cleaner/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/codingbunny-database-cleaner/)。

## 更新日志

#### 1.2.0 – 06/18/2026

 * New: added summary messages for a better user experience.

#### 1.1.2 – 06/14/2026

 * Improved: new recognizable plugins have been added.
 * Improved: builders pattern have been added.

#### 1.1.1 – 06/11/2026

 * Improved: added an icon to make clickable elements easily recognizable.
 * Improved: some colors have been adjusted to improve data readability.
 * Improved: the overall plugin recognition system has been improved.
 * Fix: the association of a plugin table from Wordfence to 301 Redirects has been
   corrected.

#### 1.1.0 – 06/10/2026

 * New: added Unknown Match form.

#### 1.0.1 – 06/09/2026

 * Improved: new recognizable plugins have been added.
 * Improved: moved the plugins that require WooCommerce to the woocommerce.php patterns
   file.

#### 1.0.0 – 06/07/2026

 * New: Initial Release

## 额外信息

 *  版本 **1.2.0**
 *  最后更新：**15 小时前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.2 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 8.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/codingbunny-database-cleaner/)
 * 标签
 * [clean](https://cn.wordpress.org/plugins/tags/clean/)[database](https://cn.wordpress.org/plugins/tags/database/)
   [Optimize](https://cn.wordpress.org/plugins/tags/optimize/)[performance](https://cn.wordpress.org/plugins/tags/performance/)
   [schedule](https://cn.wordpress.org/plugins/tags/schedule/)
 *  [高级视图](https://cn.wordpress.org/plugins/codingbunny-database-cleaner/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/codingbunny-database-cleaner/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/codingbunny-database-cleaner/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/codingbunny-database-cleaner/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/codingbunny-database-cleaner/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/codingbunny-database-cleaner/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/codingbunny-database-cleaner/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/codingbunny-database-cleaner/reviews/)

## 贡献者

 *   [ CodingBunny ](https://profiles.wordpress.org/codingbunny/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/codingbunny-database-cleaner/)