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
EnumsΒ§
- Rocks
DbOpen Error - Why a
RocksDborRocksDbReadOnlycould not be opened.
ConstantsΒ§
- DEFAULT_
BLOCK_ πCACHE_ SIZE - Default block cache size: 64 MiB (
RocksDBdefault is 8 MiB). Index/filter blocks are placed in this cache too (set_cache_index_and_filter_blocks), so everything is bounded. With long keys a tableβs index block reaches several MiB, and every lookup needs it, so the cache must be able to hold the index blocks of the tables being read or each lookup reads and decodes them again. - 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