Title: SAC Database Inspector
Author: Joe
Published: <strong>2026 年 1 月 27 日</strong>
Last modified: 2026 年 1 月 27 日

---

搜索插件

![](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

 作者：[Joe](https://profiles.wordpress.org/jackofall1232/)

[下载](https://downloads.wordpress.org/plugin/sac-database-inspector.0.2.0.zip)

 * [详情](https://cn.wordpress.org/plugins/sac-database-inspector/#description)
 * [评价](https://cn.wordpress.org/plugins/sac-database-inspector/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/sac-database-inspector/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/sac-database-inspector/#developers)

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

## 描述

**SAC Database Inspector** is a lightweight, admin-only utility designed to help
site administrators understand what is stored in their site’s database and cache—
and clean it up safely when needed.

Unlike aggressive “optimizer” plugins, Database Inspector focuses on **visibility
first**, showing you where bloat exists before offering optional, manual cleanup
actions.

### Key features:

 * Database health gauge with clear visual feedback
 * View total database size (when supported by hosting)
 * Inspect autoloaded options that load on every page
 * Identify expired and unused transients
 * Detect post revisions, auto-drafts, spam, and trash
 * Find orphaned post meta and comment meta
 * Flush external object cache (when enabled)
 * Optional read-only mode via filter for audit-only environments
 * Multisite-aware and shared-host safe
 * No frontend impact — admin-only
 * Contextual source identification for autoloaded options

All cleanup actions require explicit confirmation and are protected by nonces and
capability checks.

### Developer Notes

This plugin follows coding standards and avoids aggressive optimization tactics.
It is intended as a transparent inspection and maintenance tool, not an automatic
optimizer.

Filters and actions are provided for extensibility.

## 屏幕截图

 * [[
 * Database health gauge and overview

## 安装

 1. Upload the plugin folder to `/wp-content/plugins/`, or install via the Plugins 
    screen.
 2. Activate the plugin through the **Plugins** menu.
 3. Navigate to **Tools  DB Inspector** to view database statistics.

## 常见问题

### Is this plugin safe to use?

Yes. All cleanup actions are manual, protected, and clearly labeled. No background
jobs or automatic deletions are performed.

### Does this work on shared hosting?

Yes. If database size information is restricted by your host, the plugin degrades
gracefully without errors.

### Does this support multisite?

Yes. Multisite installations are supported, including site transients and object
cache detection.

### Does this affect frontend performance?

No. The plugin loads only in the admin area.

### Can I disable cleanup actions?

Yes. Developers can enable read-only mode using the `wpdi_read_only` filter.

### How does the plugin identify option sources?

The plugin uses pattern matching based on option name prefixes and common WordPress
naming conventions. This is an educated guess, not definitive information. Source
identification helps you understand which plugin or system component likely created
an option.

## 评价

![](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/) 2026 年 4 月 14 日

works well does what is necessary without creating problems

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/sac-database-inspector/reviews/)

## 贡献者及开发者

「SAC Database Inspector」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「SAC Database Inspector」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/sac-database-inspector)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/sac-database-inspector/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/sac-database-inspector/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/sac-database-inspector/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/sac-database-inspector/)。

## 更新日志

#### 0.2.0

 * Added: Source identification column in autoloaded options table
 * Added: Pattern-based detection for common plugins and WordPress core options
 * Improved: Better context for understanding option origins

#### 0.1.1

 * Naming and compliance updates
 * Plugin Check fixes
 * No functional changes

#### 0.1.0

 * Initial release
 * Database inspection dashboard
 * Safe manual cleanup actions
 * Read-only mode support
 * Multisite compatibility

## 额外信息

 *  版本 **0.2.0**
 *  最后更新：**3 月前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 6.9 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/sac-database-inspector/)
 * 标签
 * [Admin Tools](https://cn.wordpress.org/plugins/tags/admin-tools/)[cache](https://cn.wordpress.org/plugins/tags/cache/)
   [database cleaner](https://cn.wordpress.org/plugins/tags/database-cleaner/)[performance](https://cn.wordpress.org/plugins/tags/performance/)
   [transients](https://cn.wordpress.org/plugins/tags/transients/)
 *  [高级视图](https://cn.wordpress.org/plugins/sac-database-inspector/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/sac-database-inspector/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/sac-database-inspector/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/sac-database-inspector/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/sac-database-inspector/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/sac-database-inspector/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/sac-database-inspector/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/sac-database-inspector/)