RocksDB: A Persistent Key-Value Store for Flash and RAM Storage
RocksDB:一个用于闪存和RAM存储的持久化键值存储数据库
RocksDB is developed and maintained by Facebook Database Engineering Team. It is built on earlier work on LevelDB by Sanjay Ghemawat ([email protected]) and Jeff Dean ([email protected])
RocksDB 是由Facebook数据库工程团队研发和维护,是在 Sanjay Ghemawat([email protected]) 和 eff Dean([email protected]) 前期的工作成果LevelDB的基础上建立起来的。
This code is a library that forms the core building block for a fast key-value server, especially suited for storing data on flash drives. It has a Log-Structured-Merge-Database (LSM) design with flexible tradeoffs between Write-Amplification-Factor (WAF), Read-Amplification-Factor (RAF) and Space-Amplification-Factor (SAF). It has multi-threaded compactions, making it especially suitable for storing multiple terabytes of data in a single database.
这段代码(RocksDB)构成了快速键值服务的核心构建模块的库,特别适合在闪存驱动器上存储数据。它采用了日志结构合并数据库(LSM),可以在写放大因子(WAF),读放大因子(RAF)和空间放大因子(SAF)之间灵活权衡。它还拥有多线程的压缩功能,特别适合在单个数据库中存储多个TB的数据。
Start with example usage here: https://github.com/facebook/rocksdb/tree/master/examples
这里开始一个示范用例:https://github.com/facebook/rocksdb/tree/master/examples
See the github wiki for more explanation.
更多解释可以参考github wiki。
The public interface is in include/. Callers should not include or rely on the details of any other header files in this package. Those internal APIs may be changed without warning.
公共接口位于目录 include/ 中。调用者不应包含或依赖这个包中任何其他头文件的细节。那些内部的API可能会在没有警告的情况下修改。
Design discussions are conducted in https://www.facebook.com/groups/rocksdb.dev/ and https://rocksdb.slack.com/
可以在 https://www.facebook.com/groups/rocksdb.dev/ 和 https://rocksdb.slack.com/ 上进行设计相关的讨论
License
许可
RocksDB is dual-licensed under both the GPLv2 (found in the COPYING file in the root directory) and Apache 2.0 License (found in the LICENSE.Apache file in the root directory). You may select, at your option, one of the above-listed licenses.
RocksDB 使用双许可证,分别是GPLv2(可以在根目录的 COPYING 文件中找到)和 Apache 2.0许可证(可以在根目录的 LICENSE.Apache 文件中找到)。你可以根据你的意愿,选择上述列出的许可证之一。