Can TiDB Skip PD and Directly Save Data to TiKV Without Multi-Node Consistency? Is It Feasible?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: TIDB可以跳过PD直接与TIKV保存数据, 不需要多节点一至性, 可以实现吗

| username: TiDBer_yDNCvk5Z

The topology architecture is that TiDB directly corresponds to N TiKV instances. TiKV only implements sharded data storage and does not require distributed locks or similar mechanisms. This way, when creating a database or table, you can directly specify which TiKV to store it on. By discarding PD, TiDB only handles computation on the frontend.

| username: tidb狂热爱好者 | Original post link

Unavailable. A PD must be assigned tasks.

| username: h5n1 | Original post link

You can do without TiDB, but you cannot do without PD.

| username: forever | Original post link

Without PD, there would be no place to record which KV stores your data. So, can you directly use RocksDB? :smile:

| username: alfred | Original post link

The status of PD is the brain.

| username: Kongdom | Original post link

I remember that it is possible to use raw TiKV.

| username: zhouzeru | Original post link

PD must be used to record metadata and allocate tasks.