#11 Caché de valores
Para realizar el cálculo de expresiones disparadoras, elementos calculados y algunas macros son mucho más rápidas, Zabbix admite una opción de caché de valor servidor.
Este caché en memoria se puede usar para acceder a datos históricos, en lugar de hacer llamadas SQL directas a la base de datos. Si los valores históricos no son presente en el caché, los valores que faltan se solicitan de la base de datos y el caché actualizado en consecuencia.
Para habilitar la funcionalidad de caché de valor, un ValueCacheSize opcional el parámetro es compatible con el servidor Zabbix configuración archivo.
Se admiten dos elementos internos para monitorear el caché de valor: zabbix[vcache,buffer,<modo>] y zabbix[vcache,cache,<parámetro>]. Ver más detalles con elementos internos.
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.