16 Star 47 Fork 0

Gitee 极速下载 / RocksDB

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/facebook/rocksdb/
克隆/下载
DUMP_FORMAT.md 763 Bytes
一键复制 编辑 原始数据 按行查看 历史

RocksDB dump format

The version 1 RocksDB dump format is fairly simple:

  1. The dump starts with the magic 8 byte identifier "ROCKDUMP"

  2. The magic is followed by an 8 byte big-endian version which is 0x00000001.

  3. Next are arbitrarily sized chunks of bytes prepended by 4 byte little endian number indicating how large each chunk is.

  4. The first chunk is special and is a json string indicating some things about the creation of this dump. It contains the following keys:

  • database-path: The path of the database this dump was created from.
  • hostname: The hostname of the machine where the dump was created.
  • creation-time: Unix seconds since epoc when this dump was created.
  1. Following the info dump the slices paired into are key/value pairs.
C++
1
https://gitee.com/mirrors/rocksdb.git
git@gitee.com:mirrors/rocksdb.git
mirrors
rocksdb
RocksDB
main

搜索帮助