Title: Dejunk DB
Author: Muhammad Abdullah
Published: <strong>2026년 3월 15일</strong>
Last modified: 2026년 8월 29일

---

플러그인 검색

![](https://ps.w.org/dejunk-db/assets/banner-772x250.png?rev=3482887)

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

![](https://ps.w.org/dejunk-db/assets/icon-128x128.png?rev=3482887)

# Dejunk DB

 작성자: [Muhammad Abdullah](https://profiles.wordpress.org/ab16982/)

[다운로드](https://downloads.wordpress.org/plugin/dejunk-db.1.0.3.zip)

 * [세부사항](https://ko.wordpress.org/plugins/dejunk-db/#description)
 * [평가](https://ko.wordpress.org/plugins/dejunk-db/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/dejunk-db/#installation)
 * [개발](https://ko.wordpress.org/plugins/dejunk-db/#developers)

 [지원](https://wordpress.org/support/plugin/dejunk-db/)

## 설명

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

 * **Built-In Database Backups:** Create, download, and manage secure `.sql` backups
   of your database directly from the plugin dashboard before you clean.
 * **Preview Before Dejunking:** View the exact items (up to 500 records) that are
   flagged for deletion in a clean, AJAX-powered modal so you know exactly what 
   is being removed.
 * **Post Data Cleanup:** Safely remove Post Revisions, Auto Drafts, Trashed Posts,
   and Orphaned Post Meta.
 * **Comment Cleanup:** Quickly delete Spam, Trashed, and Unapproved Comments.
 * **User & Term Cleanup:** Clear out Orphaned User Meta and Orphaned Term Relationships.
 * **Options Cleanup:** Flush stale and expired Transient Options (`_transient_`
   and `_site_transient_`) that bloat the `wp_options` table without wiping active
   transients.
 * **Table Optimization:** Run standard MySQL `OPTIMIZE TABLE` commands on all your
   WordPress tables with a single click.
 * **Global “Dejunk Everything” Switch:** A master switch to clean up all identified
   junk sections instantly.
 * **Clean Uninstall:** When you uninstall Dejunk DB, it automatically cleans up
   its transients and securely deletes all backup files it created, leaving zero
   footprint.

_Note: Any dejunking done to your database is irreversible. Please always utilize
the built-in backup tool before running a cleanup._

## 스크린샷

[⌊Dashboard Overview: The modern Dejunk DB interface showing Database Backups, Dejunk
Everything, and specific cleanup categories.⌉⌊Dashboard Overview: The modern Dejunk
DB interface showing Database Backups, Dejunk Everything, and specific cleanup categories
.⌉[

**Dashboard Overview:** The modern Dejunk DB interface showing Database Backups,
Dejunk Everything, and specific cleanup categories.

[⌊Details Modal: Preview exactly which database rows (Revisions, Transients, etc.)
are about to be deleted before confirming.⌉⌊Details Modal: Preview exactly which
database rows (Revisions, Transients, etc.) are about to be deleted before confirming
.⌉[

**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.⌉⌊Backup Management: Easily generate, download, or delete .sql backup 
files with one click.⌉[

**Backup Management:** Easily generate, download, or delete `.sql` backup files 
with one click.

## 설치

 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.

## FAQ

### 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.

## 후기

이 플러그인에 대한 평가가 없습니다.

## 기여자 & 개발자

“Dejunk DB”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

 *   [ Muhammad Abdullah ](https://profiles.wordpress.org/ab16982/)

[자국어로 “Dejunk DB”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/dejunk-db)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/dejunk-db/)는, [SVN 저장소](https://plugins.svn.wordpress.org/dejunk-db/)
를 확인하시거나, [개발 기록](https://plugins.trac.wordpress.org/log/dejunk-db/)을
[RSS](https://plugins.trac.wordpress.org/log/dejunk-db/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 1.0.3

 * Security: Hardened `.htaccess` directory rules with Apache 2.4/2.2 mod_authz 
   directives and upgraded backup filenames with 32-character high-entropy cryptographic
   tokens.
 * Security: Added strict `.sql` extension validation on backup deletion to prevent
   arbitrary file deletion.
 * Performance: Eliminated whole-table count queries on general wp-admin requests
   by lazy-loading database totals exclusively on the Dejunk DB tools page.
 * Performance: Implemented chunked batch streaming in the SQL Backup Engine to 
   prevent PHP memory exhaustion on large tables.
 * Fix: Resolved serialization and character escaping data corruption in SQL backup
   dumps by utilizing binary-safe escaping.
 * Feature: Smart expired transients cleanup targeting timed-out transient options
   while preserving active transients.
 * Feature: Added spam and trashed comment cleanup support.
 * Accessibility: Added ARIA dialog roles, accessible close labels, and keyboard
   focus management to the details modal.
 * i18n: Added missing translation wrappers and pluralization (`_n()`).

#### 1.0.2

 * Maintenance: General code improvements and asset optimizations.

#### 1.0.1

 * Security: Removed automated SQL restore functionality for stricter security compliance.
 * Security: Refactored all core database queries to use strict `$wpdb->prepare()`
   parameterization.
 * Security: Added comprehensive nonce verification and capability checks for all
   AJAX actions.
 * UI/UX: Removed inline JavaScript and implemented proper script enqueuing.
 * Fix: Improved backup filename sanitization and backup directory protection.
 * Feature: Added `uninstall.php` cleanup routine to securely remove backups and
   transients upon plugin deletion.

#### 1.0.0

 * Initial public release.

## 기초

 *  버전 **1.0.3**
 *  최근 업데이트: **5일 전**
 *  활성화된 설치 **10보다 적음**
 *  워드프레스 버전 ** 6.0 또는 그 이상 **
 *  다음까지 시험됨: **6.7.7**
 *  PHP 버전 ** 7.4 또는 그 이상 **
 *  언어
 * [English (US)](https://wordpress.org/plugins/dejunk-db/)
 * 태그:
 * [clean](https://ko.wordpress.org/plugins/tags/clean/)[database](https://ko.wordpress.org/plugins/tags/database/)
   [Optimize](https://ko.wordpress.org/plugins/tags/optimize/)[revisions](https://ko.wordpress.org/plugins/tags/revisions/)
   [transients](https://ko.wordpress.org/plugins/tags/transients/)
 *  [고급 보기](https://ko.wordpress.org/plugins/dejunk-db/advanced/)

## 평점

아직 제출된 리뷰가 없습니다.

[Your review](https://wordpress.org/support/plugin/dejunk-db/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/dejunk-db/reviews/)

## 기여자

 *   [ Muhammad Abdullah ](https://profiles.wordpress.org/ab16982/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/dejunk-db/)

## 기부

이 플러그인이 발전하도록 도우시겠습니까?

 [ 이 플러그인에 기부하기 ](https://abdullahwp.com)