From 2f4639117643a236440373dfebd64ad0a55dbcb0 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Tue, 16 Mar 2021 16:30:55 +0800 Subject: [PATCH] cherry pick #5032 to release-5.0 Signed-off-by: ti-srebot --- benchmark/v4.0-performance-benchmarking-with-tpch.md | 4 ++++ geo-distributed-deployment-topology.md | 2 +- hybrid-deployment-topology.md | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/benchmark/v4.0-performance-benchmarking-with-tpch.md b/benchmark/v4.0-performance-benchmarking-with-tpch.md index f15d885bee805..e7364e64b85e7 100644 --- a/benchmark/v4.0-performance-benchmarking-with-tpch.md +++ b/benchmark/v4.0-performance-benchmarking-with-tpch.md @@ -162,6 +162,10 @@ To avoid TiKV and TiFlash racing for disk and I/O resources, mount the two NVMe ## Test result +> **Note:** +> +> The tables on which SQL statements are executed in this test only have primary keys and do not have secondary indexes. Therefore, the test result below is not influenced by indexes. + | Query ID | v3.0 | v4.0 TiKV Only | v4.0 TiKV/TiFlash Automatically | | :-------- | :----------- | :------------ | :-------------- | | 1 | 7.78 s | 7.45 s | 2.09 s | diff --git a/geo-distributed-deployment-topology.md b/geo-distributed-deployment-topology.md index afd03f3b36e70..c251020e88f2e 100644 --- a/geo-distributed-deployment-topology.md +++ b/geo-distributed-deployment-topology.md @@ -36,7 +36,7 @@ This section describes the key parameter configuration of the TiDB geo-distribut - The label configuration: - Since TiKV is deployed across different data centers, if the physical machines go down, the Region Group might lose three of the default five replicas, which causes the cluster unavailability. To address this issue, you can configure the labels to enable the smart scheduling of PD, which ensures that the Region Group does not allow three replicas to be located in TiKV instances on the same machine in the same cabinet of the same data center. + Since TiKV is deployed across different data centers, if the physical machines go down, the Raft Group might lose three of the default five replicas, which causes the cluster unavailability. To address this issue, you can configure the labels to enable the smart scheduling of PD, which ensures that the Raft Group does not allow three replicas to be located in TiKV instances on the same machine in the same cabinet of the same data center. - The TiKV configuration: diff --git a/hybrid-deployment-topology.md b/hybrid-deployment-topology.md index 26026f13e17ab..b982cb5d233a0 100644 --- a/hybrid-deployment-topology.md +++ b/hybrid-deployment-topology.md @@ -68,7 +68,7 @@ This section introduces the key parameters when you deploy multiple instances on - The label scheduling configuration - Since multiple instances of TiKV are deployed on a single machine, if the physical machines go down, the Region Group might lose two of the default three replicas, which causes the cluster unavailability. To address this issue, you can use the label to enable the smart scheduling of PD, which ensures that the Region Group has more than two replicas in multiple TiKV instances on the same machine. + Since multiple instances of TiKV are deployed on a single machine, if the physical machines go down, the Raft Group might lose two of the default three replicas, which causes the cluster unavailability. To address this issue, you can use the label to enable the smart scheduling of PD, which ensures that the Raft Group has more than two replicas in multiple TiKV instances on the same machine. - The TiKV configuration