トリガー式、計算 item 、一部のマクロの計算を高速化するために、Zabbix server では値キャッシュオプションが
サポートされています。
このインメモリキャッシュは、データベースに直接SQLを呼び出す代わりに、過去のデータへのアクセスに使用することができます。
過去の値がキャッシュに存在しない場合、不足分の値はデータベースから要求され、それに応じてキャッシュが更新されます。
値キャッシュ機能を有効にするために、オプションの ValueCacheSize パラメータが Zabbix server の
configuration ファイルでサポートされています。
値キャッシュを監視するために、2つの内部 item がサポートされています。zabbix[vcache,buffer,<mode>] と
zabbix[vcache,cache,<parameter>] です。詳細は、internal itemsを参照してください。
Item values remain in value cache either until:
Value cache status can be observed by using the server runtime control option diaginfo
(or diaginfo=valuecache
) and inspecting the section for value cache diagnostic information. This can be useful for determining misconfigured triggers or calculated items.
To enable the value cache functionality, an optional ValueCacheSize parameter is supported by the Zabbix server configuration file.
Two internal items are supported for monitoring the value cache: zabbix[vcache,buffer,<mode>] and zabbix[vcache,cache,<parameter>]. See more details with internal items.