v.21.9Improvement
Expose RocksDB Statistics via system.rocksdb Table in ClickHouse
ExposeRocksDBstatistics via system.rocksdb table. Read rocksdb options from ClickHouse config (rocksdb...keys). NOTE: ClickHouse does not rely on RocksDB, it is just one of the additional integration storage engines. #26821 (Azat Khuzhin).
Why it matters
This feature provides visibility intoRocksDB engine internals by exposing its metrics and statistics within ClickHouse. It allows users to monitor and tune RocksDB settings directly from the ClickHouse configuration, improving manageability and observability for setups using the RocksDB integration storage engine, which is optional and additional to ClickHouse's core engines.How to use it
Users can query thesystem.rocksdb table to access RocksDB statistics. Configuration options for RocksDB are now read from the ClickHouse configuration files under keys prefixed with rocksdb, enabling users to customize RocksDB behavior within ClickHouse by adjusting these settings accordingly.