Questions tagged [tikv]

TiKV is a distributed Key-Value database which is based on the design of Google Spanner and HBase. It is the storage engine of TiDB.

TiKV features geo-replication, horizontal scalability, consistent distributed transactions, Coprocessor support and working with TiDB.

26 questions
0
votes
2 answers

What is "mult-raft" in TiKV?

I came across this intersting database the other day, and have read some doc on its offical site, I have some questions regarding Raft Group in TiKV (here), Suppose that we have a cluster which has like 100 nodes, and the replication factor is 3,…
gfytd
  • 1,747
  • 2
  • 24
  • 47
0
votes
1 answer

Can we run multiple TiDB instances connected to the same cluster to PD and (hence TiKV)?

I want to set up a local cluster of TiDB for the benchmark. Here are some my doubts: Can multiple TiDB instances connect to the same PD and TiKV cluster? (We only notice a single TiDB instance in this official production deployment doc.) If…
user1584887
  • 277
  • 1
  • 11
0
votes
0 answers

How to split horizontally table on multiple zones?

I want to split data on multiple tiKV because I have Swiss, Europeans and Americans and I need to store data in citizen country. The user’s table has a country code and automatically data are stored in a good zone (tikv --label zone=ch/eu/us). How…
0
votes
1 answer

What would happen raft-log-gc-size-limit is larger than region-split-size in TiKV

I have a TiKV setup it has a region-split-size as 96MB, which is the default and raft-log-gc-size-limit is 144MB. How does it impact the tikv cluster. Since it is mentioned that raft-log-gc-size-limit should be 3/4th of region-split-size.
guru107
  • 1,053
  • 1
  • 11
  • 28
0
votes
1 answer

Why reverseSeek not supported in tikv?

I'v seen that in tikv v2.0.9, ScanRequest have not support reverse param, also befor reverseSeek don't work, however in some time, I need reverseSeek, how can I do that?
0
votes
1 answer

How to model "dimension" tables in TiDB?

I would like to designate certain tables as replicated to all TiKV stores such that they are always available to join with locally (thereby reducing expensive distributed joins at the TiDB level). This would allow the TiKV coprocessor to join…
0
votes
1 answer

Is the number of replicas in each Region configurable? If yes, how to configure it?

I have deployed the TiDB cluster on my machine. Is the number of replicas in each Region configurable? If yes, how to configure it?
Caitin Chen
  • 151
  • 1
  • 10
0
votes
1 answer

How to delete the monitoring data of a cluster node that is offline?

I have deployed TiDB in our production environment. I want to know how to delete the monitoring data of a cluster node that is offline.
Caitin Chen
  • 151
  • 1
  • 10
-1
votes
1 answer

Why the modified `toml` configuration for TiKV/PD does not take effect?

During TiDB deployment, why the modified toml configuration for TiKV/PD does not take effect?
Caitin Chen
  • 151
  • 1
  • 10
-1
votes
1 answer

About the number of machines in rolling update of TiDB

I have a TiDB cluster of 4 machines and I want to add a PD server. But it seems that the number of machines does not meet the rolling update requirement. In TiDB documentation, at least 2 TiDB servers, 3 PD servers and 3 TiKV servers are needed in…
Caitin Chen
  • 151
  • 1
  • 10
-2
votes
1 answer

what dose lockkeys in tikv api use for?

Recently, I was looking at tikv's api document. There is a LockKey api in transaction. When I call it for operation, I directly panic. i have serval question? i want to know why it panic what does the lockKeys api use for? can any help me …
1
2