Re-exportsยง
pub use rocksdb;
Modulesยง
- envs
- rocks_
db_ ๐open_ blocking_ builder - Tools for manipulating the type state of
RocksDbOpenBlockingBuilder.
Structsยง
- RocksDb
- Rocks
DbOpen Blocking Builder - Use builder syntax to set the inputs and finish with
open_blocking(). - Rocks
DbRead Only - Rocks
DbRead Only Transaction - Rocks
DbTransaction
Constantsยง
- DEFAULT_
BLOCK_ ๐CACHE_ SIZE - Default block cache size: 2 MiB (
RocksDBdefault is 8 MiB). Index/filter blocks are placed in this cache too (set_cache_index_and_filter_blocks), so everything is bounded. We only need correctness, not throughput, so we keep this minimal. - DEFAULT_
MAX_ ๐OPEN_ FILES - Default max open files: 256 (
RocksDBdefault is unlimited which consumes memory for each open file handle and associated metadata) - DEFAULT_
WRITE_ ๐BUFFER_ SIZE - Default write buffer size: 2 MiB (
RocksDBdefault is 64 MiB)
Functionsยง
- convert_
to_ ๐async_ stream - get_
default_ ๐options - is_
power_ ๐of_ two - next_
prefix ๐ - parse_
env_ ๐size