Skip to main content

DEFAULT_BLOCK_SIZE_BYTES

Constant DEFAULT_BLOCK_SIZE_BYTES 

Source
pub const DEFAULT_BLOCK_SIZE_BYTES: usize = _; // 4_096usize
Expand description

Default SST data-block size (bytes; uncompressed, the RocksDB default).

The read unit, cache unit, compression unit, and checksum unit are all one block. 4 KiB suits random point lookups; scan-heavy stores (the registry dictionary) want bigger blocks — see REGISTRY_BLOCK_SIZE_BYTES.