Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 一个TiKV实例的数据存储对应的是一个RocksDB吗?
Does the data storage of a TiKV instance correspond to a single RocksDB? Thanks to all the experts.
Metadata takes up one, data takes up one.
There should be two.
One is rocksdb raft where the data first becomes a log stored in rocksdb raft.
Then there is rocksdb kv, the actual place where data is stored.
For more details, you can refer to this course: Core Principles and Architecture of TiDB Database [TiDB v6] Lesson 03 TiKV.