Difference between revisions of "RocksDB"
Jump to navigation
Jump to search
↑ https://github.com/facebook/rocksdb/wiki/RocksDB-FAQ
Line 2: | Line 2: | ||
[[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.<ref>https://github.com/facebook/rocksdb/wiki/RocksDB-FAQ</ref>. A single DB can be configured to store its data in multiple directories. | [[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.<ref>https://github.com/facebook/rocksdb/wiki/RocksDB-FAQ</ref>. 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 <code>[[SST file|SST]]</code> files, perform merge-sort like operation, generate new SST files, and delete the old SST files it inputs. | RocksDB execute periodic compactions which reads from one or more <code>[[SST file|SST]]</code> files, perform merge-sort like operation, generate new SST files, and delete the old SST files it inputs. |
Revision as of 07:50, 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. 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
- Read RocksDB source: https://github.com/facebook/rocksdb/wiki/RocksDB-FAQ
- Review MyRocks: MySQL/MariaDB storage engine that integrates with RocksDB.
See also
- Key-value databases: Berkeley DB, Redis,
etcd
, leveldb, RocksDB (MyRocks), Infinispan, Amazon DynamoDB, Apache Zookeeper, LevelDB, RocksDB, Pebble - Databases: Database management, SQL, NoSQL, Wide column, PostgreSQL, MariaDB, MySQL, Derby DB, MongoDB, Cassandra, SQLite, HSQL2, H2, RocksDB, Microsoft SQL Server, DB2, Oracle Database, Memcached, Berkeley DB, Collation, SingleStore, Amazon Aurora, Graph database, Amazon DynamoDB, PrestoDB, Cache hit ratio, ACID, WAL, ARIES, DBMS, OLTP, OLAP, Database Schema, CockroachDB, Tables, Views, Apache Druid, RDMS
- SSD
- Homepage: https://rocksdb.org/
Advertising: