Skip to main content

Module engine

Module engine 

Source
Expand description

RocksDB engine: database-wide operations and shared resources.

Engine owns the opened RocksDB instance together with the worker pool, the shared open-time context, and the flags fixed at open (read-only, secondary, checksums). Per-column-family reads and writes go through Map; the methods here act on the database as a whole: WAL flush and sync, memtable flush, manual compaction and primary catch-up, property queries, and the cork counter that coalesces WAL writes (see the cork module).

Modulesยง

backup ๐Ÿ”’
cf_opts ๐Ÿ”’
context ๐Ÿ”’
db_opts ๐Ÿ”’
descriptor ๐Ÿ”’
Database column descriptors
events ๐Ÿ”’
files ๐Ÿ”’
logger ๐Ÿ”’
memory_usage ๐Ÿ”’
open ๐Ÿ”’
repair ๐Ÿ”’

Structsยง

Engine
Handle to the opened RocksDB database and its shared resources.

Type Aliasesยง

Db ๐Ÿ”’
Backing RocksDB type: multi-threaded column-family access, no transactions.