state.backend.rocksdb.block.blocksize |
(none) |
MemorySize |
The approximate size (in bytes) of user data packed per block. RocksDB has default blocksize as '4KB'. |
state.backend.rocksdb.block.cache-size |
(none) |
MemorySize |
The amount of the cache for data blocks in RocksDB. RocksDB has default block-cache size as '8MB'. |
state.backend.rocksdb.block.metadata-blocksize |
(none) |
MemorySize |
Approximate size of partitioned metadata packed per block. Currently applied to indexes block when partitioned index/filters option is enabled. RocksDB has default metadata blocksize as '4KB'. |
state.backend.rocksdb.bloom-filter.bits-per-key |
10.0 |
Double |
Bits per key that bloom filter will use, this only take effect when bloom filter is used. |
state.backend.rocksdb.bloom-filter.block-based-mode |
false |
Boolean |
If true, RocksDB will use block-based filter instead of full filter, this only take effect when bloom filter is used. |
state.backend.rocksdb.compaction.level.max-size-level-base |
(none) |
MemorySize |
The upper-bound of the total size of level base files in bytes. RocksDB has default configuration as '256MB'. |
state.backend.rocksdb.compaction.level.target-file-size-base |
(none) |
MemorySize |
The target file size for compaction, which determines a level-1 file size. RocksDB has default configuration as '64MB'. |
state.backend.rocksdb.compaction.level.use-dynamic-size |
(none) |
Boolean |
If true, RocksDB will pick target size of each level dynamically. From an empty DB, RocksDB would make last level the base level, which means merging L0 data into the last level, until it exceeds max_bytes_for_level_base. And then repeat this process for second last level and so on. RocksDB has default configuration as 'false'. For more information, please refer to RocksDB's doc. |
state.backend.rocksdb.compaction.style |
(none) |
Enum |
The specified compaction style for DB. Candidate compaction style is LEVEL, FIFO, UNIVERSAL or NONE, and RocksDB choose 'LEVEL' as default style.
Possible values:- "LEVEL"
- "UNIVERSAL"
- "FIFO"
- "NONE"
|
state.backend.rocksdb.files.open |
(none) |
Integer |
The maximum number of open files (per stateful operator) that can be used by the DB, '-1' means no limit. RocksDB has default configuration as '-1'. |
state.backend.rocksdb.log.dir |
(none) |
String |
The directory for RocksDB's information logging files. If empty (RocksDB default setting), log files will be in the same directory as data files. If non-empty, this directory will be used and the data directory's absolute path will be used as the prefix of the log file name. |
state.backend.rocksdb.log.file-num |
(none) |
Integer |
The maximum number of files RocksDB should keep for information logging (RocksDB default setting: 1000). |
state.backend.rocksdb.log.level |
(none) |
Enum |
The specified information logging level for RocksDB. If unset, Flink will use HEADER_LEVEL . Note: RocksDB info logs will not be written to the TaskManager logs and there is no rolling strategy, unless you configure state.backend.rocksdb.log.dir , state.backend.rocksdb.log.max-file-size , and state.backend.rocksdb.log.file-num accordingly. Without a rolling strategy, long-running tasks may lead to uncontrolled disk space usage if configured with increased log levels! There is no need to modify the RocksDB log level, unless for troubleshooting RocksDB.
Possible values:- "DEBUG_LEVEL"
- "INFO_LEVEL"
- "WARN_LEVEL"
- "ERROR_LEVEL"
- "FATAL_LEVEL"
- "HEADER_LEVEL"
- "NUM_INFO_LOG_LEVELS"
|
state.backend.rocksdb.log.max-file-size |
(none) |
MemorySize |
The maximum size of RocksDB's file used for information logging. If the log files becomes larger than this, a new file will be created. If 0 (RocksDB default setting), all logs will be written to one log file. |
state.backend.rocksdb.thread.num |
(none) |
Integer |
The maximum number of concurrent background flush and compaction jobs (per stateful operator). RocksDB has default configuration as '2'. |
state.backend.rocksdb.use-bloom-filter |
false |
Boolean |
If true, every newly created SST file will contain a Bloom filter. RocksDB disables it by default. |
state.backend.rocksdb.write-batch-size |
2 mb |
MemorySize |
The max size of the consumed memory for RocksDB batch write, will flush just based on item count if this config set to 0. |
state.backend.rocksdb.writebuffer.count |
(none) |
Integer |
The maximum number of write buffers that are built up in memory. RocksDB has default configuration as '2'. |
state.backend.rocksdb.writebuffer.number-to-merge |
(none) |
Integer |
The minimum number of write buffers that will be merged together before writing to storage. RocksDB has default configuration as '1'. |
state.backend.rocksdb.writebuffer.size |
(none) |
MemorySize |
The amount of data built up in memory (backed by an unsorted log on disk) before converting to a sorted on-disk files. RocksDB has default writebuffer size as '64MB'. |