Module cache

Source
Expand description

Cache for the engine.

Modulesยง

cache_size ๐Ÿ”’
Cache size of different cache value.
file_cache ๐Ÿ”’
A cache for files.
index ๐Ÿ”’
write_cache ๐Ÿ”’
A write-through cache for remote object stores.

Structsยง

CacheManager
Manages cached data for the engine.
CacheManagerBuilder
Builder to construct a CacheManager.
ColumnPagePath
Path to column pages in the SST file.
PageValue
Cached row group pages for a column.
SelectorResultKey
Cache key for time series row selector result.
SelectorResultValue
Cached result for time series row selector.
SstMetaKey ๐Ÿ”’
Cache key (region id, file id) for SST meta.

Enumsยง

CacheStrategy
Cache strategies that may only enable a subset of caches.
PageKey
Cache key for pages of a SST row group.

Constantsยง

FILE_TYPE ๐Ÿ”’
Metrics type key for files on the local store.
PAGE_TYPE ๐Ÿ”’
Metrics type key for pages.
SELECTOR_RESULT_TYPE ๐Ÿ”’
Metrics type key for selector result cache.
SST_META_TYPE ๐Ÿ”’
Metrics type key for sst meta.
VECTOR_TYPE ๐Ÿ”’
Metrics type key for vector.

Functionsยง

meta_cache_weight ๐Ÿ”’
page_cache_weight ๐Ÿ”’
selector_result_cache_hit
Increases selector cache hit metrics.
selector_result_cache_miss
Increases selector cache miss metrics.
selector_result_cache_weight ๐Ÿ”’
update_hit_miss ๐Ÿ”’
Updates cache hit/miss metrics.
vector_cache_weight ๐Ÿ”’

Type Aliasesยง

CacheManagerRef
PageCache ๐Ÿ”’
Maps (region, file, row group, column) to PageValue.
SelectorResultCache ๐Ÿ”’
Maps (file id, row group id, time series row selector) to SelectorResultValue.
SstMetaCache ๐Ÿ”’
Maps (region id, file id) to [ParquetMetaData].
VectorCache ๐Ÿ”’
Maps Value to a vector that holds this value repeatedly.