Difference between revisions of "RocksDB"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
 
== Installation ==
 
== Installation ==
 
* [[macOS]]: <code>[[brew]] install rocksdb</code>
 
* [[macOS]]: <code>[[brew]] install rocksdb</code>
* Binaries: rocksdb_sanity_test rocksdb_stress rocksdb_undump rocksdb_sst_dump rocksdb_ldb rocksdb_repl_stress rocksdb_dump rocksdb_write_stress
+
* Binaries:  
 +
** <code>rocksdb_sanity_test</code>
 +
** <code>rocksdb_stress</code>
 +
** <code>rocksdb_undump</code>
 +
** <code>rocksdb_sst_dump</code>
 +
** <code>rocksdb_ldb</code>
 +
** <code>rocksdb_repl_stress</code>
 +
** <code>rocksdb_dump</code>
 +
** <code>rocksdb_write_stress</code>
  
  

Revision as of 07:35, 12 February 2020

This article is a Draft. Help us to complete it.

wikipedia:RocksDB is a high performance embedded database/library for key-value database released in 2012. 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.

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

Installation

  • macOS: brew install rocksdb
  • Binaries:
    • rocksdb_sanity_test
    • rocksdb_stress
    • rocksdb_undump
    • rocksdb_sst_dump
    • rocksdb_ldb
    • rocksdb_repl_stress
    • rocksdb_dump
    • rocksdb_write_stress


Related binaries: sst_dump and SstFileReader.

Activities

  1. Read RocksDB source: https://github.com/facebook/rocksdb/wiki/RocksDB-FAQ

See also

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