Module config

Source
Expand description

Configurations.

Structsยง

BloomFilterConfig
Configuration options for the bloom filter.
FulltextIndexConfig
Configuration options for the full-text index.
IndexConfig
InvertedIndexConfig
Configuration options for the inverted index.
MitoConfig
Configuration for MitoEngine. Before using the config, make sure to call MitoConfig::validate() to check if the config is valid.

Enumsยง

MemoryThreshold
Memory threshold for performing certain actions.
Mode
Operational mode for certain actions.

Constantsยง

DEFAULT_SCAN_CHANNEL_SIZE ๐Ÿ”’
Default channel size for parallel scan task.
FETCH_OPTION_TIMEOUT ๐Ÿ”’
Fetch option timeout
GLOBAL_WRITE_BUFFER_SIZE_FACTOR ๐Ÿ”’
INDEX_CREATE_MEM_THRESHOLD_FACTOR ๐Ÿ”’
Use 1/INDEX_CREATE_MEM_THRESHOLD_FACTOR of OS memory size as mem threshold for creating index
MEM_CACHE_SIZE_FACTOR ๐Ÿ”’
Use 1/MEM_CACHE_SIZE_FACTOR of OS memory size as mem cache size in default mode
MULTIPART_UPLOAD_MINIMUM_SIZE ๐Ÿ”’
PAGE_CACHE_SIZE_FACTOR ๐Ÿ”’
Use 1/PAGE_CACHE_SIZE_FACTOR of OS memory size as page cache size in default mode
SST_META_CACHE_SIZE_FACTOR ๐Ÿ”’
Use 1/SST_META_CACHE_SIZE_FACTOR of OS memory size as SST meta cache size in default mode

Functionsยง

divide_num_cpus ๐Ÿ”’
Divide cpu num by a non-zero divisor and returns at least 1.