Linux 软件免费装
Banner图

Dejunk DB

开发者 ab16982
更新时间 2026年3月15日 13:18
捐献地址: 去捐款
PHP版本: 7.2 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

backup database optimize clean revisions transients dejunk

下载

1.0.1

详情介绍:

Over time, your WordPress database accumulates a massive amount of unnecessary data—like post revisions, auto-drafts, orphaned metadata, and expired transients. This bloat slows down your site and increases your backup sizes. Dejunk DB is a lightweight, intuitive, and highly secure tool designed to clean up this orphaned and duplicated data, optimizing your database for peak performance. Before making any changes, Dejunk DB provides a built-in Backup Engine so you can safely create a snapshot of your database and download it locally. 🚀 Key Features Note: Any dejunking done to your database is irreversible. Please always utilize the built-in backup tool before running a cleanup.

安装:

  1. Upload the dejunk-db folder to the /wp-content/plugins/ directory, or install the plugin directly through the WordPress plugins screen by searching for Dejunk DB.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Navigate to Tools -> Dejunk DB in your WordPress admin menu.
  4. Important: Click "Create Backup" in the Database Backups card.
  5. Review the junk categories and click "Clean" individually, or use "Run Global Dejunk" to clean everything at once.

屏幕截图:

  • **Details Modal:** Preview exactly which database rows (Revisions, Transients, etc.) are about to be deleted before confirming.
  • **Backup Management:** Easily generate, download, or delete `.sql` backup files with one click.

常见问题:

Is it safe to delete post revisions and orphaned meta?

Yes. Orphaned meta refers to data left behind when a post or user is deleted. Revisions are old versions of your posts. Removing them will not affect your live website content, but will significantly reduce database size.

Where are the database backups stored?

Backups are stored in your wp-content/uploads/dejunk-db-backups directory. The plugin automatically generates an .htaccess file and an index.php file inside this folder to block direct web access, keeping your backups secure.

Can I restore a backup directly from the plugin?

For strict security compliance, automatic SQL restoration is not included in the plugin. To restore your database, simply download the .sql file from the dashboard and import it using phpMyAdmin, WP-CLI, or your hosting control panel.

Does Dejunk DB leave files behind if I uninstall it?

No. Dejunk DB hooks into the WordPress uninstall process. If you delete the plugin from the WordPress admin, it will automatically remove its generated backup folder and all .sql files to ensure no sensitive data is left behind.

Why can I only view 500 items in the preview modal?

To prevent memory exhaustion and browser crashing on large sites that may have hundreds of thousands of junk rows, the preview query is intentionally limited to 500 items. The "Clean" action, however, will remove all of them.

更新日志:

1.0.1 1.0.0