Skip to main content

Module mito_engine_options

Module mito_engine_options 

Source
Expand description

Option keys for the mito engine. We define them in this mod so the create parser can use it to validate table options.

Structs§

TwcsTriggerOptionConflict
Conflicting values supplied through the legacy and canonical TWCS trigger options.

Constants§

APPEND_MODE_KEY
Option key for append mode.
AUTO_FLUSH_INTERVAL_KEY
Option key for the per-table auto flush interval.
COMPACTION_OVERRIDE
Option key for forcing compaction options override.
COMPACTION_TYPE
Option key for compaction type.
COMPACTION_TYPE_TWCS
TWCS compaction strategy.
MAX_ROW_GROUP_ROW_COUNT
Option key for the max number of rows in a parquet row group.
MAX_ROW_GROUP_ROW_COUNT_LIMIT
Upper bound for MAX_ROW_GROUP_ROW_COUNT.
MEMTABLE_BULK_ENCODE_BYTES_THRESHOLD
Option key for bulk memtable encode bytes threshold.
MEMTABLE_BULK_ENCODE_ROW_THRESHOLD
Option key for bulk memtable encode row threshold.
MEMTABLE_BULK_MAX_MERGE_GROUPS
Option key for bulk memtable max merge groups.
MEMTABLE_BULK_MERGE_THRESHOLD
Option key for bulk memtable merge threshold.
MEMTABLE_PARTITION_TREE_DATA_FREEZE_THRESHOLD
Option key for memtable partition tree data freeze threshold.
MEMTABLE_PARTITION_TREE_FORK_DICTIONARY_BYTES
Option key for memtable partition tree fork dictionary bytes.
MEMTABLE_PARTITION_TREE_INDEX_MAX_KEYS_PER_SHARD
Option key for memtable partition tree index max keys per shard.
MEMTABLE_TYPE
Option key for memtable type.
MERGE_MODE_KEY
Option key for merge mode.
PRESERVE_ROW_SEQUENCE
Option key for preserving per-row sequence numbers through flush and compaction.
SKIP_WAL_KEY
Option key for skipping WAL.
SNAPSHOT_READ
Option key for snapshot read.
SST_FORMAT_KEY
Option key for sst format.
TTL_KEY
Option key for TTL(time-to-live)
TWCS_ACTIVE_WINDOW_L1_MERGE_TRIGGER
Option key for the active-window L1 safety compaction threshold.
TWCS_ACTIVE_WINDOW_TRIGGER_FILE_NUM
Option key for twcs min file num to trigger compaction in the active window.
TWCS_FALLBACK_TO_LOCAL
Option key for twcs fallback to local.
TWCS_INACTIVE_WINDOW_L1_MERGE_TRIGGER
Option key for the inactive-window L1 compaction threshold.
TWCS_INACTIVE_WINDOW_TRIGGER_FILE_NUM
Option key for twcs min file num to trigger compaction in an inactive window.
TWCS_MAX_OUTPUT_FILE_SIZE
Option key for twcs max output file size.
TWCS_REMOTE_COMPACTION
Option key for twcs remote compaction.
TWCS_TIME_WINDOW
Option key for twcs time window.
TWCS_TRIGGER_FILE_NUM
Option key for twcs min file num to trigger a compaction.
WAL_OPTIONS_KEY
Option key for all WAL options. An encoded wal options will be wrapped into a (WAL_OPTIONS_KEY, encoded wal options) key-value pair and inserted into the options of a RegionCreateRequest.
WRITE_BUFFER_SIZE_KEY
Option key for the per-region write buffer size.

Functions§

is_mito_engine_option_key
Returns true if the key is a valid option key for the mito engine.
normalize_twcs_trigger_options
Normalizes the active-window TWCS trigger option to its legacy storage key.