Title: SAC Database Inspector
Author: Ask Adam
Published: <strong>27 januari 2026</strong>
Last modified: 14 september 2026

---

Plugins zoeken

![](https://ps.w.org/sac-database-inspector/assets/banner-772x250.jpg?rev=3448058)

![](https://ps.w.org/sac-database-inspector/assets/icon-256x256.png?rev=3448149)

# SAC Database Inspector

 Door [Ask Adam](https://profiles.wordpress.org/jackofall1232/)

[Download](https://downloads.wordpress.org/plugin/sac-database-inspector.1.1.2.zip)

 * [Details](https://nl-be.wordpress.org/plugins/sac-database-inspector/#description)
 * [Beoordelingen](https://nl-be.wordpress.org/plugins/sac-database-inspector/#reviews)
 *  [Installatie](https://nl-be.wordpress.org/plugins/sac-database-inspector/#installation)
 * [Ontwikkeling](https://nl-be.wordpress.org/plugins/sac-database-inspector/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/sac-database-inspector/)

## Beschrijving

SAC Database Inspector helps administrators understand what is using the WordPress
database before deciding whether maintenance is appropriate.

It is inspection-first: no background cleanup, “clean everything” action, telemetry,
paid feature, or automatic external request is included.

#### Modern dashboard

 * Clean, card-based interface designed for quick scanning
 * Severity-colored health score with a plain-language rating
 * Refined data tables, stat tiles, and status badges
 * Fully responsive layout that works on small screens
 * No external fonts, scripts, or tracking of any kind

#### Database diagnostics

 * Runtime, storage, and maintenance health categories
 * Deterministic and explainable health penalty score
 * Database and table sizes when the host permits access
 * Graceful fallback when `information_schema` is restricted
 * Object-cache status and bounded maintenance counts

#### Ownership and footprints

 * Conservative plugin option, metadata, transient, and custom-table estimates
 * Active, inactive, not-installed, WordPress core, theme, and unknown owner states
 * Explicit ownership confidence and evidence
 * Inactive installed plugins are never treated as missing

#### Autoload and ghost data

 * Paginated, searchable, size-sorted autoload inspector
 * Serialized, protected, owner, status, confidence, and size indicators
 * Capped option previews with centralized sensitive-name redaction
 * Orphan metadata, expired transient, missing-plugin option/table, and stale cron
   findings
 * Heuristic findings are read-only and never automatically deleted

#### Controlled maintenance and rollback

 * Capability, nonce, target, read-only-mode, and explicit-confirmation checks
 * At most 100 records changed per request
 * Lightweight local safety snapshots before supported changes
 * Restoration for options, autoload state, and orphan metadata
 * Protected WordPress options cannot have autoload changed

#### Reports and optional AI

 * Redacted JSON, CSV, and HTML exports from one normalized report
 * Optional WordPress 7.0 AI Client explanations when a text provider is configured
 * Provider-neutral integration with no SAC API-key settings
 * AI receives capped metadata, not raw option values or database credentials
 * AI cannot run SQL, clean data, change options, or restore snapshots
 * All deterministic features work without AI

### Privacy and external services

SAC has no telemetry or tracking. Database inspection and exports are local.

If an administrator explicitly requests an AI explanation, SAC passes a capped and
redacted metadata-only diagnostic context to the provider selected through WordPress
Settings  Connectors. The external service, data handling, and terms depend on the
connector/provider configured by the site owner. SAC does not store provider credentials
and does not send raw option values, database credentials, WordPress salts, private
keys, or authentication tokens.

## Schermafbeeldingen

[⌊Overview dashboard with the severity-colored health score and bounded maintenance
actions⌉⌊Overview dashboard with the severity-colored health score and bounded maintenance
actions⌉[

Overview dashboard with the severity-colored health score and bounded maintenance
actions

[⌊Runtime, storage, and maintenance health categories with explainable score penalties⌉⌊
Runtime, storage, and maintenance health categories with explainable score penalties⌉[

Runtime, storage, and maintenance health categories with explainable score penalties

[⌊Conservative plugin database footprints with ownership confidence⌉⌊Conservative
plugin database footprints with ownership confidence⌉[

Conservative plugin database footprints with ownership confidence

[⌊Paginated, searchable autoload inspector with safe previews⌉⌊Paginated, searchable
autoload inspector with safe previews⌉[

Paginated, searchable autoload inspector with safe previews

[⌊Read-only ghost data findings with evidence and confidence⌉⌊Read-only ghost data
findings with evidence and confidence⌉[

Read-only ghost data findings with evidence and confidence

[⌊Redacted report exports and optional AI interpretation with connector guidance⌉⌊
Redacted report exports and optional AI interpretation with connector guidance⌉[

Redacted report exports and optional AI interpretation with connector guidance

[⌊Safety snapshot history and supported restoration⌉⌊Safety snapshot history and
supported restoration⌉[

Safety snapshot history and supported restoration

## Installatie

 1. Upload the plugin folder to `/wp-content/plugins/`, or install it through the Plugins
    screen.
 2. Activate SAC Database Inspector.
 3. Open Tools  DB Inspector.

## FAQ

### Does the plugin change data automatically?

No. Scanning is read-only. Every maintenance action is initiated explicitly by an
administrator, handles a bounded batch, and creates a safety snapshot where practical.

### Is plugin ownership guaranteed?

No. SAC uses conservative exact-prefix evidence and reports confidence. Unknown 
data remains unknown, and heuristic ownership never authorizes deletion.

### Is data from an inactive plugin considered orphaned?

No. Inactive but installed plugins have a distinct status and are not treated as
missing.

### What happens when database size access is restricted?

Table and total-size fields are marked unavailable. Other diagnostics continue to
work, and restricted `information_schema` access is not treated as database failure.

### How are snapshots stored?

Snapshots are stored locally in a non-autoloaded WordPress option, limited to 20
operations and 14 days, and removed when the plugin is uninstalled. Snapshot values
are excluded from exports and AI context.

### Does AI have access to cleanup tools?

No. AI is an optional explanation layer. It receives a capped, redacted metadata
report only after an administrator requests an explanation. No mutation ability 
or database credential is exposed.

### Does SAC contact an AI provider when AI is unavailable?

No. AI UI is enabled only when WordPress reports that configured text generation
is supported. All other functionality is independent of AI.

### Why is the AI interpretation unavailable on my site?

The optional AI features use the WordPress 7.0 AI Client. WordPress needs a text-
generation connector configured under Settings  Connectors; the Reports & AI tab
links there directly. Every deterministic diagnostic works without it.

### Can I disable every maintenance action?

Yes. Add `add_filter( 'wpdi_read_only', '__return_true' );` in site-specific code.

## Beoordelingen

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

### 󠀁[works well](https://wordpress.org/support/topic/works-well-3161/)󠁿

 [pagrob](https://profiles.wordpress.org/pagrob/) 14 april 2026 1 reactie

works well does what is necessary without creating problems

 [ Lees 1 beoordeling ](https://wordpress.org/support/plugin/sac-database-inspector/reviews/)

## Bijdragers & ontwikkelaars

“SAC Database Inspector” is open source software. De volgende personen hebben bijgedragen
aan deze plugin.

Bijdragers

 *   [ Ask Adam ](https://profiles.wordpress.org/jackofall1232/)

[Vertaal “SAC Database Inspector” naar jouw taal.](https://translate.wordpress.org/projects/wp-plugins/sac-database-inspector)

### Interesse in de ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/sac-database-inspector/),
haal de [SVN repository](https://plugins.svn.wordpress.org/sac-database-inspector/)
op, of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/sac-database-inspector/)
via [RSS](https://plugins.trac.wordpress.org/log/sac-database-inspector/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.2

 * Added new WordPress.org screenshots showing the redesigned dashboard.
 * Added a direct Settings  Connectors link where AI interpretation is configured,
   and clearer guidance when no connector is set up.
 * Added a single, dismissible review invitation shown only on the plugin’s own 
   page after the first successful maintenance action. It never repeats once dismissed
   and sends no data anywhere.
 * Refreshed the plugin description and FAQ. No diagnostic behavior changed.

#### 1.1.1

 * Fixed PHP warnings and deprecations from information_schema table metadata on
   MySQL 8 hosts.
 * Fixed AI interpretation failing with a 400 error on providers that reject an 
   explicit temperature.
 * Fixed CSV export deprecation on PHP 8.4 and made output RFC 4180 compliant.
 * Collected the diagnostic report once per request instead of re-scanning per section.
 * Refreshed the admin interface with a cleaner, more professional design.
 * Excluded development files from the production package.

#### 1.1.0

 * Added modular report, ownership, cleanup, snapshot, export, and AI services.
 * Added normalized deterministic diagnostic reports and explainable health categories.
 * Added conservative plugin database footprint estimates and owner status distinctions.
 * Added read-only ghost data findings with confidence and reasons.
 * Added paginated/searchable autoload inspection, protected options, and redacted
   previews.
 * Added bounded cleanup, local safety snapshots, and supported restoration.
 * Added redacted JSON, CSV, and HTML exports.
 * Added optional provider-neutral WordPress 7.0 AI Client explanations.
 * Preserved existing cleanup identifiers, hooks, AJAX names, read-only mode, and
   flat statistics response.
 * Added PHPUnit, WordPress Coding Standards, PHP compatibility, and production-
   build configuration.
 * Removed no functionality and added no telemetry, paid features, provider SDKs,
   or automatic external calls.

#### 1.0.0

 * Stable release with the original inspection dashboard and manual cleanup actions.

#### 0.2.0

 * Added contextual source identification to the autoload table.

#### 0.1.1

 * Naming and compliance updates.

#### 0.1.0

 * Initial database inspection dashboard, manual cleanup, read-only mode, and multisite
   support.

## Meta

 *  Versie **1.1.2**
 *  Laatst bijgewerkt: **2 weken geleden**
 *  Actieve installaties: **10+**
 *  WordPress versie ** 7.0 of nieuwer **
 *  Getest t/m **7.1.2**
 *  PHP versie ** 7.4 of nieuwer **
 *  Taal
 * [English (US)](https://wordpress.org/plugins/sac-database-inspector/)
 * Tags
 * [autoload](https://nl-be.wordpress.org/plugins/tags/autoload/)[database](https://nl-be.wordpress.org/plugins/tags/database/)
   [database cleaner](https://nl-be.wordpress.org/plugins/tags/database-cleaner/)
   [diagnostics](https://nl-be.wordpress.org/plugins/tags/diagnostics/)[performance](https://nl-be.wordpress.org/plugins/tags/performance/)
 *  [Geavanceerde weergave](https://nl-be.wordpress.org/plugins/sac-database-inspector/advanced/)

## Beoordelingen

 5 van 5 sterren.

 *  [  1 5 ster beoordeling     ](https://wordpress.org/support/plugin/sac-database-inspector/reviews/?filter=5)
 *  [  0 4 sterren beoordeling     ](https://wordpress.org/support/plugin/sac-database-inspector/reviews/?filter=4)
 *  [  0 3 sterren beoordeling     ](https://wordpress.org/support/plugin/sac-database-inspector/reviews/?filter=3)
 *  [  0 2 sterren beoordeling     ](https://wordpress.org/support/plugin/sac-database-inspector/reviews/?filter=2)
 *  [  0 1 sterren beoordeling     ](https://wordpress.org/support/plugin/sac-database-inspector/reviews/?filter=1)

[Je beoordeling](https://wordpress.org/support/plugin/sac-database-inspector/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/sac-database-inspector/reviews/)

## Bijdragers

 *   [ Ask Adam ](https://profiles.wordpress.org/jackofall1232/)

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/sac-database-inspector/)