Skip to main content

REGISTRY_BLOCK_SIZE_BYTES

Constant REGISTRY_BLOCK_SIZE_BYTES 

Source
pub const REGISTRY_BLOCK_SIZE_BYTES: usize = _; // 32_768usize
Expand description

Registry SST data-block size (bytes).

The registry’s only real reader is lookup_many_seek’s bulk sorted walk: larger blocks mean ~8× fewer block reads per walk and correspondingly larger disk requests, which is worth far more than the extra bytes a point lookup would fetch (the RocksDB registry has no hot point-lookup path). Applies to SSTs written after the setting is in effect — run a full-range compaction to rewrite existing files.