Difference between revisions of "RocksDB"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 30: Line 30:
 
== Related ==
 
== Related ==
 
* [[Parity]]
 
* [[Parity]]
 +
* [[PebbleDB]]
 
  [[agd start]] options: --db_backend string                              database backend: [[goleveldb]] | [[cleveldb]] | [[boltdb]] | rocksdb | [[badgerdb]] (default "goleveldb")
 
  [[agd start]] options: --db_backend string                              database backend: [[goleveldb]] | [[cleveldb]] | [[boltdb]] | rocksdb | [[badgerdb]] (default "goleveldb")
 
  [[.sst]]
 
  [[.sst]]

Revision as of 19:31, 15 August 2024

wikipedia:RocksDB is a high performance embedded database/library for key-value database released in 2012 and written in C++. Database has to be open by a single process for writting and multiprocessor for reading.[1]. A single DB can be configured to store its data in multiple directories. It is based on a log-structured merge-tree (LSM tree) data structure

RocksDB execute periodic compactions which reads from one or more SST files, perform merge-sort like operation, generate new SST files, and delete the old SST files it inputs.

RocksDB databases include support for field compression using Zstandard

Maximum recommended sizes for key and value are 8MB and 3GB respectively.

Installation


Related binaries: sst_dump and SstFileReader.

Activities

  1. Read RocksDB source: https://github.com/facebook/rocksdb/wiki/RocksDB-FAQ
  2. Review MyRocks: MySQL/MariaDB storage engine that integrates with RocksDB.

Related

agd start options: --db_backend string                               database backend: goleveldb | cleveldb | boltdb | rocksdb | badgerdb (default "goleveldb")
.sst

See also

  • https://github.com/facebook/rocksdb/wiki/RocksDB-FAQ
  • Advertising: