TiDB Storage Key-Value pairs Local storage (RocksDB) Raft protocol Region MVCC Distributed ACID transaction TiDB Storage This document introduces some design ideas and key...
Setup Test 1. Bulk Load of keys in Random Order (benchmark.sh bulkload) Test 2. Random Write (benchmark.sh overwrite) Test 3. Multi-threaded read and single-threaded write (benc...
Partitioned Index Key in index blocks Individual Index Block index_type == kBinarySearchWithFirstKey An index block contains one entry per data block, where the key is a stri...