Опис
Mega Database Cleanup is a modern, high-performance database optimization utility built to remove unused, bloated, and orphaned data from your WordPress database – safely and automatically.
Instead of leaving your database cluttered with post revisions, spam, expired transients, and orphaned metadata, this plugin gives you a centralized control center to clean, monitor, and automate your database health. It connects directly to the Mega Plugin Hub dashboard so you can manage all settings remotely without touching your WordPress admin every time.
Ideal for site owners, developers, agencies, and power users who want a faster, leaner database without risking important data.
External services
This plugin relies on external third-party services and APIs to provide licensing and settings synchronization features. By using this plugin, you agree to their respective terms and privacy policies:
- Mega Plugin Hub (https://api.megapluginhub.com / https://www.megapluginhub.com)
- Usage: Used to verify your license key, sync plugin settings, and trigger cleanup actions remotely from the Mega Plugin Hub dashboard.
- Data Sent: Sends your license key and plugin settings during sync. No database content or user data is ever transmitted.
- Terms & Privacy: Terms of Service: https://www.megapluginhub.com/terms-condition/ , Privacy Policy: https://www.megapluginhub.com/privacy-policy/
Highlights
-
Real-Time Health Dashboard
Monitor your database health score, junk size, overhead, and last cleanup time at a glance from the plugin dashboard. -
Targeted Cleanup Modules
Fast, one-click optimization for Post Revisions, Trashed Content, Spam Comments, and Expired Transients. -
Empty & Orphaned Meta Scanner
Detects empty, null, serialized-empty, or JSON-empty metadata across Post, User, Term, and Comment tables. -
ACF Cleanup Engine
Automatically identifies patterns used by Advanced Custom Fields to detect and remove orphan entries safely. -
Automated Background Cleanup
Schedule automatic cleanups to run hourly, daily, or weekly using WordPress Cron – completely hands-free. -
Safety Vault System
Automatically secures deleted data in a temporary vault before any cleanup operation for easy recovery. -
Snapshot Management
Create manual snapshots of your metadata before cleanup and restore them whenever needed. -
Hub Settings Sync
Settings are synced in real-time from the Mega Plugin Hub dashboard via secure webhook with license-key authentication. -
WooCommerce Junk Cleaner
Clean expired shop sessions, failed order entries, and abandoned shopping cart records with a single click. -
100% Clean Uninstall
When you delete the plugin, all settings, custom tables, and scheduled tasks are cleanly removed from your database.
Who Is This For?
Website Owners
– Improve site performance by keeping your database lean and fast.
Agencies & Developers
– Manage and automate database cleanup for client sites from one centralized dashboard.
WooCommerce Stores
– Clean up expired sessions, failed orders, and junk data to keep your store running smoothly.
Why Mega Database Cleanup Is Different
- Built around a Hub-Connected Architecture – manage everything from one dashboard
- Safety-first design – every cleanup is backed by a vault and snapshot system
- No bloat – lightweight plugin that offloads settings management to the cloud
- Real-time webhooks – settings sync to your site instantly when you change them in the Hub
Privacy Policy
Mega Database Cleanup is committed to transparency regarding user data:
- No external data transmission – No database content ever leaves your site.
- License sync only – Only your license key and plugin settings are sent to Mega Plugin Hub for verification and sync. No user data, posts, or database rows are transmitted.
- Database backups – Backup data is stored in a dedicated custom table on your own database server and never sent externally.
- Activation popup (optional) – If you enter your email in the welcome popup, it is saved to your site’s
wp_optionstable only. It is never sent to any third-party server. - Deactivation feedback (optional) – If you submit a deactivation reason, it is saved locally to your site’s
wp_optionstable. It is never sent externally.
Developer Hooks
Filters
mega_db_cleanup_patterns– Modify cleanup patternsmega_db_cleanup_retention_limit– Change default “keep latest N” count
Actions
mega_db_cleanup_before_delete– Fires before deletionmega_db_cleanup_after_delete– Fires after deletion
Credits
Developed with ❤️ by MegaWix Technologies
- Plugin Development: MegaWix Technologies
- Testing & QA: MegaWix Technologies
Support
Need help? Have a question or feature request?
- Website: https://www.megapluginhub.com
- Email: support@megapluginhub.com
We are committed to providing reliable support and regular updates to ensure this plugin remains compatible with the latest WordPress versions.
Скріншоти








Встановлення
Automatic Installation
- Log in to WordPress Admin Plugins Add New
- Search for Mega Database Cleanup
- Click Install Now Activate
- Navigate to Mega Database Cleanup in your WordPress sidebar
Manual Installation
- Download the plugin ZIP
- Go to Plugins Add New Upload Plugin
- Select the ZIP and install
- Click Activate Plugin
Initial Setup
- Open Mega Database Cleanup from your WordPress sidebar
- Enter your Mega Plugin Hub License Key to connect.
- Once connected, your settings sync automatically from the Hub dashboard.
- Run your first cleanup or enable automated scheduling – your database is now under control!
Часті питання
-
Is it safe to use on a live/production site?
-
Yes. Mega Database Cleanup is designed with safety as the top priority. Before any cleanup operation, data is stored in the Safety Vault. You can also create manual snapshots at any time. We strongly recommend running a full backup before enabling aggressive cleanup rules on a production site.
-
Will it delete content I still need?
-
No. The plugin only removes data that WordPress itself considers orphaned or junk – such as expired transients, spam comments, and post revisions. Your published content, pages, products, and user data are never touched.
-
How does Hub Settings Sync work?
-
When you update settings in your Mega Plugin Hub dashboard, a secure webhook is sent to your WordPress site with your license key in the request header. The plugin verifies the key and applies the new settings instantly – no manual saving required on the WP side.
-
What is the Safety Vault?
-
Before any cleanup runs, deleted metadata is stored in a dedicated custom table on your own server. You can view and restore this data from the plugin’s Snapshot Manager tab. The vault is completely private and never leaves your server.
-
How safe is the automated cleanup scheduler?
-
Very safe – it follows the same rules as manual cleanup, including retention rules, vault backup, and license-tier checks.
-
What happens if I deactivate or uninstall the plugin?
-
Deactivating the plugin pauses all scheduled cleanups. Uninstalling it completely removes all settings, custom tables, and cron jobs from your database, leaving no trace behind.
Відгуки
Для цього плагіна немає відгуків.
Учасники та розробники
“Mega Database Cleanup” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
УчасникиПерекладіть “Mega Database Cleanup” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.
Журнал змін
3.0.0
- New: Real-time Settings Sync via Mega Plugin Hub webhook integration.
- New: Secure
X-Mega-Licenseheader authentication for all Hub communications. - Improved: Modular settings architecture with per-setting toggle persistence.
- Improved: Background cleanup actions now report status back to Hub dashboard.
- Fixed: Settings not persisting correctly across plugin updates.
2.0.0
- Major Overhaul: Completely redesigned modular class-based architecture.
- New: Health Score Dashboard with real-time database diagnostics.
- New: Support for User, Term, and Comment metadata cleanup.
- New: Targeted cleanup modules for Revisions, Trash, Spam, and Transients.
- New: Safety Vault system to temporarily secure deleted data.
- New: Metadata Snapshot system for manual backups and restoration.
- New: Modern tabbed UI with improved user experience.
1.1.1
- Fixed: Critical PHP compatibility issue by replacing modern arrow functions with traditional anonymous functions, ensuring support for older server environments.
- Fixed: Resolved a glitch that caused plugin deactivation during the update process due to script execution timeouts on some servers.
- Improved: Better handling of plugin state during version transitions.
1.1.0
- Added optional activation popup: subscribe to plugin update tips (email stored locally only)
- Added deactivation feedback popup: 6 selectable reasons + custom text (stored locally only)
- Plugin now appears as a top-level menu item in the WordPress sidebar
- Quick-access link added to the WordPress admin bar (header)
- All new features are fully WordPress.org compliant
1.0.0 – Initial Release
- Empty meta scanner and preview mode
- ACF orphan cleanup with pattern-based detection
- Scheduled automatic cleanup (hourly/daily/weekly)
- Backup table to store deleted meta rows
- Retention rule: keep latest N entries per meta_key
- One-click delete all empty metadata
- Add/remove ACF patterns
- Inline logs and real-time reports
- Fully optimized SQL cleanup
- Admin UI with jQuery enhancements
