CoprocessorCache

(Appears on: TiKVClient)

CoprocessorCache is the config for coprocessor cache.

FieldDescription
enabled
bool
(Optional)

Whether to enable the copr cache. The copr cache saves the result from TiKV Coprocessor in the memory and reuses the result when corresponding data in TiKV is unchanged, on a region basis.

capacity-mb
float64
(Optional)

The capacity in MB of the cache.

admission-max-result-mb
float64
(Optional)

Only cache requests whose result set is small.

admission-min-process-ms
uint64
(Optional)

Only cache requests takes notable time to process.