Split the configured total database cache across the indexes and kernel caches.

Synopsis

Declared in <node/caches.h>

CacheSizes
CalculateCacheSizes(
    ArgsManager const& args,
    size_t n_indexes = 0);

Return Value

The computed per‐component cache sizes.

Parameters

Name

Description

args

Argument manager holding the parsed settings.

n_indexes

Number of optional indexes that will share the cache.

Created with MrDocs