Title: CliniQ DB
Author: Bilal Mahmood
Published: <strong>2026 年 7 月 16 日</strong>
Last modified: 2026 年 7 月 16 日

---

搜索插件

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

![](https://ps.w.org/cliniq-db/assets/icon-256x256.png?rev=3610784)

# CliniQ DB

 作者：[Bilal Mahmood](https://profiles.wordpress.org/bilalmahmooddev/)

[下载](https://downloads.wordpress.org/plugin/cliniq-db.1.0.0.zip)

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

 [支持](https://wordpress.org/support/plugin/cliniq-db/)

## 描述

CliniQ DB scans your WordPress database and presents a plain-English health report—
including a letter grade, an issue list, and exactly what to do about each problem.

**Overview tab**

 * Letter grade (A–F) with a 0–100 score
 * Table count, total DB size, table overhead
 * Autoloaded options size, revision count, transient count
 * MySQL version, charset, WP DB version
 * Spam/trash comment count, orphaned postmeta count

**Tables tab**

 * Full list of all database tables sorted by size, overhead, or row count
 * Per-table: data size, index size, overhead, engine, collation
 * One-click Optimize button for tables with overhead

**Autoloaded Options tab**

 * Lists the top 150 autoloaded options by size
 * Per-option: name, size in bytes, percentage of total, value preview
 * Highlights options over 10 KB in amber, over 50 KB in red

**Cleanup tab**

 * Expired transients
 * Post revisions
 * Auto-draft posts
 * Spam comments
 * Trashed comments
 * Orphaned postmeta
 * Orphaned commentmeta

Each cleanup card shows the row count before cleaning and a confirmation message
after. All operations are permanent — back up your database first.

### Source Files & Build Process

The compiled JavaScript at `assets/build/index.js` is human-readable ES5 code that
uses WordPress’s bundled `wp.element` (React) directly — no minification or transpilation
is applied. The JSX source components in `assets/src/` are included for reference.

To compile from JSX source:

 1. Run `npm install` in the plugin folder.
 2. Run `npm run build`.

Build requirements: Node 18+, `@wordpress/scripts` ^26.

## 屏幕截图

[[

[[

[[

[[

## 安装

 1. Upload the `cliniq-db` folder to `/wp-content/plugins/`.
 2. Activate the plugin through the **Plugins** screen in WordPress.
 3. Navigate to **CliniQ DB** in the left admin menu.

## 常见问题

### Is it safe to run the cleanup operations?

Yes. Every cleanup task only removes data WordPress no longer uses — expired transients,
deleted-post leftovers, spam and trash. Back up your database before running cleanup
on a production site as a precaution.

### Will this affect my site’s front end?

No. CliniQ DB is an admin-only tool. It does not output anything to the front end
and does not modify published content.

### How is the health score calculated?

Each detected issue reduces the score: critical issues subtract 30 points, warnings
subtract 15, and informational issues subtract 3. The letter grade maps to score
ranges: A (90–100), B (75–89), C (60–74), D (45–59), F (0–44).

### Does this work with Multisite?

The plugin scans the current site’s database tables. Full Multisite network-wide
support is not included in this version.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Bilal Mahmood ](https://profiles.wordpress.org/bilalmahmooddev/)
 *   [ bilalmahmood ](https://profiles.wordpress.org/bilalmahmood/)

[帮助将「CliniQ DB」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/cliniq-db)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.0

Initial release.
 * Added translators comments to all i18n strings with placeholders.*
Fixed: esc_sql() applied to table name in OPTIMIZE TABLE query. * Updated Tested
up to: 7.0. * Added languages/ directory for future translations. * Added uninstall.
php to remove plugin data on deletion.

#### 1.0.0

Initial release.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**6 天前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.3 或更高版本 **
 *  已测试的最高版本为 **7.0.2**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/cliniq-db/)
 * 标签
 * [cleanup](https://cn.wordpress.org/plugins/tags/cleanup/)[database](https://cn.wordpress.org/plugins/tags/database/)
   [maintenance](https://cn.wordpress.org/plugins/tags/maintenance/)[optimizer](https://cn.wordpress.org/plugins/tags/optimizer/)
   [performance](https://cn.wordpress.org/plugins/tags/performance/)
 *  [高级视图](https://cn.wordpress.org/plugins/cliniq-db/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ Bilal Mahmood ](https://profiles.wordpress.org/bilalmahmooddev/)
 *   [ bilalmahmood ](https://profiles.wordpress.org/bilalmahmood/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/cliniq-db/)