Attic — Safe Database Audit

Attic — Safe Database Audit

Details
View on WordPress

Uninstalled and misbehaving plugins leave behind lingering database bloat — autoloaded options, ghost cron events, stranded transients, orphaned tables. Traditional cleanup tools reach for aggressive drop/delete queries that risk breaking your site.

Attic audits your WordPress database for bloat, without any of that:

  • Autoloaded option bloat — oversized options that load on every page request, ranked by size against Site Health’s 800 KB line.
  • Ghost cron events — scheduled hooks with no registered callback, firing forever and doing nothing.
  • Orphaned tables — tables no installed plugin claims, with reclaimable megabytes up front.
  • Stranded transients — expired timeout pairs and orphaned rows.
  • Leftovers from deleted plugins — data whose owning plugin is absent from disk entirely.

Two rules outrank every feature:

  1. Quarantine, never delete. Options are stored before removal. Tables are renamed (wp_attic_quarantined_*), never dropped until a purge window passes.
  2. Nothing is called orphaned until your code has been searched for it. Attic streams wp-content — plugins, mu-plugins, themes, wp-config.php — looking for every candidate name before promoting anything to high confidence.

Every finding shows its full evidence inline: which rule fired, what it attributed to and whether that plugin exists on disk, how many code references were found, and the size. A finding you cannot audit is a finding you should not act on.

Filters

  • attic_protected_options — additional never-flag option names
  • attic_protected_cron_hooks / attic_protected_tables — same, for cron and tables
  • attic_finding_confidence — last word on any single finding’s confidence
  • attic_reference_scan_roots — unusual layouts, custom content dirs

Details

Plugin code:
attic-safe-database-audit
Plugin version:
1.0.0
Outdated:
No
WP version:
6.5 or higher
PHP version:
8.1 or higher
Test up to WP version:
7.1
Total installations:
0
Last updated:
2026-08-31
Rating:
Times rated:
0
audit
cleanup
database
optimization
performance