Title: MySQL query cache stats
Author: Moris Papasmadov
Published: <strong>2020年9月23日</strong>
Last modified: 2025年12月2日

---

プラグインを検索

![](https://ps.w.org/mysql-query-cache-stats/assets/banner-772x250.png?rev=2982519)

![](https://ps.w.org/mysql-query-cache-stats/assets/icon-256x256.png?rev=2403328)

# MySQL query cache stats

 作者: [Moris Papasmadov](https://profiles.wordpress.org/morisdov/)

[ダウンロード](https://downloads.wordpress.org/plugin/mysql-query-cache-stats.zip)

 * [詳細](https://ja.wordpress.org/plugins/mysql-query-cache-stats/#description)
 * [レビュー](https://ja.wordpress.org/plugins/mysql-query-cache-stats/#reviews)
 * [開発](https://ja.wordpress.org/plugins/mysql-query-cache-stats/#developers)

 [サポート](https://wordpress.org/support/plugin/mysql-query-cache-stats/)

## 説明

Admin dashboard widget measuring and monitoring MySQL / MariaDB [query cache](https://mariadb.com/resources/blog/flexible-mariadb-server-query-cache)
performance & statistics – to optimize sizing configuration and highlight bottlenecks.

#### Why

Database Query for [Options Autoload](https://kinsta.com/knowledgebase/wp-options-autoloaded-data/#what-is-the-wp_options-table)
is repeatedly executed for each WP page load and its poor performance has been identified
as a good indicator for a poorly performing database resulting in slow site.

#### How

 * Use dashboard widget to measure and monitor `Options Autoload Query Time`
 * Use dashboard widget to measure and monitor `Options Autoload Query Size`
    This
   query result size increases constantly over time, as WP site usage grows – but
   its oversized sudden growth or constant balooning must not be overlooked.

Heavy plugins might rely heavily on adding data to `Options Autoload Query Size`.

Poorly written plugins causing WP performance degradation have been found to constantly
increase this query result size.

#### Time Metrics

‘Options Autoload Query Time’ is measured in milliseconds (ms)

0 ms – great performance below one millisecond
 1-2 ms – good performance 3-5 ms–
OK performance 50+ ms – poor performance should be investigated

#### Size Metrics

‘Options Autoload Size’ is measured in Bytes
 If you have the control to enable 
the database server wide query cache – configure query_cache_limit to be larger 
than `Options Autoload Size`

20,000 Bytes – freshly installed clean wordpress site
 30,000 Bytes – small wordpress
site 50,000 Bytes – medium wordpress site 250,000 Bytes – large wordpress site 2,000,000
+ Bytes – too large should be investigated ( `all above are rough metrics` )

## スクリーンショット

[⌊Active query cache stats⌉⌊Active query cache stats⌉[

Active query cache stats

[⌊Disabled query cache stats⌉⌊Disabled query cache stats⌉[

Disabled query cache stats

[⌊Execute database command RESET QUERY CACHE⌉⌊Execute database command RESET QUERY
CACHE⌉[

Execute database command RESET QUERY CACHE

## FAQ

### This plugin improves page load performance ?

No, This plugin in itself does not improve performance by being installed, this 
plugin only measures time and size of database query.

### This plugin improves database performance ?

No, This plugin in itself does not improve performance by being installed, an administrator
should use the dashboard widget to measure, monitor and identify problems.

### Must database query cache be enabled ?

No, This plugin measures time and size of a very important database query and these
measurements should be valuable to an administrator whether database query cache
is enabled or not.

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

MySQL query cache stats はオープンソースソフトウェアです。以下の人々がこのプラグ
インに貢献しています。

貢献者

 *   [ Moris Papasmadov ](https://profiles.wordpress.org/morisdov/)

[“MySQL query cache stats” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/mysql-query-cache-stats)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/mysql-query-cache-stats/)
するか、[SVN リポジトリ](https://plugins.svn.wordpress.org/mysql-query-cache-stats/)
をチェックするか、[開発ログ](https://plugins.trac.wordpress.org/log/mysql-query-cache-stats/)
を [RSS](https://plugins.trac.wordpress.org/log/mysql-query-cache-stats/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.0.4

 * Added wp_options Autoload Query Time

#### 1.0.3

 * Added wp_options Autoload Size

#### 1.0.2

 * Added Database Size
 * Added Refresh button

#### 1.0.1

 * Added Questions, removed Queries
    Query cache does not cache statements executed
   within stored programs. Queries differs from Questions in that it also counts
   statements executed within stored programs. Questions differs from Queries in
   that it doesn’t count statements executed within stored programs.
 * Added widget button RESET QUERY CACHE
    Execute database command RESET QUERY CACHE.

#### 1.0

 * First release

## メタ

 *  バージョン **1.0.4**
 *  最終更新日 **7か月前**
 *  有効インストール数 **40+**
 *  WordPress バージョン ** 3.6またはそれ以降 **
 *  検証済み最新バージョン: **6.9.4**
 *  PHP バージョン ** 5.6またはそれ以降 **
 *  言語
 * [English (US)](https://wordpress.org/plugins/mysql-query-cache-stats/)
 * タグ
 * [database](https://ja.wordpress.org/plugins/tags/database/)[mariadb](https://ja.wordpress.org/plugins/tags/mariadb/)
   [performance](https://ja.wordpress.org/plugins/tags/performance/)[tuning](https://ja.wordpress.org/plugins/tags/tuning/)
   [wp_options](https://ja.wordpress.org/plugins/tags/wp_options/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/mysql-query-cache-stats/advanced/)

## 評価

レビューはまだ送信されていません。

[Your review](https://wordpress.org/support/plugin/mysql-query-cache-stats/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/mysql-query-cache-stats/reviews/)

## 貢献者

 *   [ Moris Papasmadov ](https://profiles.wordpress.org/morisdov/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/mysql-query-cache-stats/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](http://www.childrensheartlink.org/donate)