3 ms·
Storage engine on a node using ordered keys is not the same thing as a distributed KV store maintaining an ordered index.
by rapsey 6y ago
Storage engine on a node using ordered keys is not the same thing as a distributed KV store maintaining an ordered index.
- ergl 6y agoI'm not entirely sure about what you mean, and I'm not terribly familiar with TiKV. In general, a single node partition will use ordered storage. At a higher level (partitions/shards), you use either key ranges or hashing to route keys to partitions: https://tikv.org/deep-dive/scalability/data-sharding/ https://tikv.org/deep-dive/scalability/data-sharding/ It seems TiKV uses range partitioning, so that's giving you the order across nodes.