Blob

Questions:

  1. PinnableSlice 这个作用是啥
  2. rocksdb的blob和pingcap的titan之间关系?实现逻辑?
  3. Blob文件是怎么选择的

Blob将key和value分来开存储。

// A wrapped database which puts values of KV pairs in a separate log
// and store location to the log in the underlying DB.

blob db

Blob Log

blob log format

blob log format

blob index

blob index

Open

Blob open blob open

Put

BlobPut

blob put

Get

BlobGet blob get