Viraj Jasani created PHOENIX-7395:
-------------------------------------
Summary: Metadata Cache metrics at server and client side
Key: PHOENIX-7395
URL: https://issues.apache.org/jira/browse/PHOENIX-7395
Project: Phoenix
Issue Type: Improvement
Affects Versions: 5.2.0
Reporter: Viraj Jasani
Phoenix maintains cache of PTable objects, also known as Metadata cache (as a
Guava cache) at both server and client side. The size of the cache at server
side is determined by config _phoenix.coprocessor.maxMetaDataCacheSize_ with
default value of 20 MB. Similarly, the size of the cache at client side is
determined by _phoenix.client.maxMetaDataCacheSize_ with default value of 10 MB.
To understand whether the size of the metadata caches at client and server side
are sufficient for the given cluster and the give client, we need some
visibility into how efficiently the caches are being utilized.
The purpose of this Jira is to add some metrics for both of these caches:
* Used cache size (in bytes)
* Cache hit rates (per second)
* Cache miss rates (per second)
* Cache eviction rates (per second)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)