rfcs
rfcs copied to clipboard
Integer Shard Index
Signed-off-by: TonsnakeLin [email protected] Hot index reduces the write scalability of the TiDB cluster when the written data is monotonically increasing. We find out a proposal to solve the problem that is using an expression index to scatter the hot index, the new expression index is called a shard index.
@cfzjywxk @youjiali1995 @zhangjinpeng1987 @you06 @tiancaiamao
@TonsnakeLin Please move this design to https://github.com/pingcap/tidb/tree/master/docs/design
don't use Chinese in the benchmark result picture.
This looks like a simple version of GLOBAL INDEX
for a hash partitioned global index. Are there any plans on extending it to fully support GLOBAL INDEX
? So it supports any type of index, both partitioned and non-partitioned tables, and also support to partition the index by either HASH
or RANGE
?
There is already an implementation of GLOBAL INDEX
in TiDB, but it is only experimental and I don't think it is maintained. Some links in this issue.