You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: geo-distributed-deployment-topology.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,4 +84,5 @@ This section describes the key parameter configuration of the TiDB geo-distribut
84
84
85
85
> **Note:**
86
86
>
87
-
> You do not need to manually create the `tidb` user in the configuration file. The TiUP cluster component automatically creates the `tidb` user on the target machines. You can customize the user, or keep the user consistent with the control machine.
87
+
> - You do not need to manually create the `tidb` user in the configuration file. The TiUP cluster component automatically creates the `tidb` user on the target machines. You can customize the user, or keep the user consistent with the control machine.
88
+
> - If you configure the deployment directory as a relative path, the cluster will be deployed in the home directory of the user.
> - In the production environment, the TiDB and PD instances can be deployed on the same server. If you have a higher requirement for performance and reliability, try to deploy them separately.
81
81
> - It is strongly recommended to use higher configuration in the production environment.
82
82
> - It is recommended to keep the size of TiKV hard disk within 2 TB if you are using PCIe SSDs or within 1.5 TB if you are using regular SSDs.
83
83
84
+
Before you deploy TiFlash, note the following items:
85
+
86
+
- TiFlash can be [deployed on multiple disks](/tiflash/tiflash-configuration.md#multi-disk-deployment), so you do not have to use RAID.
87
+
- It is recommended to use a high-performance SSD as the first disk of the TiFlash data directory to buffer the real-time replication of TiKV data. The performance of this disk should not be lower than that of TiKV, such as PCI-E SSD. The disk capacity should be no less than 10% of the total capacity; otherwise, it might become the bottleneck of this node. You can deploy ordinary SSDs for other disks, but note that a better PCI-E SSD brings better performance.
88
+
- It is recommended to deploy TiFlash on different nodes from TiKV. If you must deploy TiFlash and TiKV on the same node, increase the number of CPU cores and memory, and try to deploy TiFlash and TiKV on different disks to avoid interfering each other.
89
+
- The total capacity of the TiFlash disks is calculated in this way: `the data volume of the entire TiKV cluster to be replicated / the number of TiKV replicas * the number of TiFlash replicas`. For example, if the overall planned capacity of TiKV is 1 TB, the number of TiKV replicas is 3, and the number of TiFlash replicas is 2, then the recommended total capacity of TiFlash is `1024 GB / 3 * 2`. You can replicate only the data of some tables. In such case, determine the TiFlash capacity according to the data volume of the tables to be replicated.
90
+
84
91
## Network requirements
85
92
86
93
As an open source distributed NewSQL database, TiDB requires the following network port configuration to run. Based on the TiDB deployment in actual environments, the administrator can open relevant ports in the network side and host side.
Copy file name to clipboardExpand all lines: hybrid-deployment-topology.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,3 +103,4 @@ This section introduces the key parameters when you deploy multiple instances on
103
103
> - When editing the configuration file template, modify the required parameter, IP, port, and directory.
104
104
> - Each component uses the global `<deploy_dir>/<components_name>-<port>` as their `deploy_dir` by default. For example, if TiDB specifies the `4001` port, its `deploy_dir` is `/tidb-deploy/tidb-4001` by default. Therefore, in multi-instance scenarios, when specifying a non-default port, you do not need to specify the directory again.
105
105
> - You do not need to manually create the `tidb` user in the configuration file. The TiUP cluster component automatically creates the `tidb` user on the target machines. You can customize the user, or keep the user consistent with the control machine.
106
+
> - If you configure the deployment directory as a relative path, the cluster will be deployed in the home directory of the user.
Copy file name to clipboardExpand all lines: minimal-deployment-topology.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,4 +24,5 @@ This document describes the minimal deployment topology of TiDB clusters.
24
24
25
25
> **Note:**
26
26
>
27
-
> You do not need to manually create the `tidb` user in the configuration file. The TiUP cluster component automatically creates the `tidb` user on the target machines. You can customize the user, or keep the user consistent with the control machine.
27
+
> - You do not need to manually create the `tidb` user in the configuration file. The TiUP cluster component automatically creates the `tidb` user on the target machines. You can customize the user, or keep the user consistent with the control machine.
28
+
> - If you configure the deployment directory as a relative path, the cluster will be deployed in the home directory of the user.
[TiUP](https://github.com/pingcap/tiup) is a cluster operation and maintenance tool introduced in TiDB 4.0. TiUP provides [TiUP cluster](https://github.com/pingcap/tiup/tree/master/components/cluster), a cluster management component written in Golang. By using TiUP cluster, you can easily perform daily database operations, including deploying, starting, stopping, destroying, scaling, and upgrading a TiDB cluster, and manage TiDB cluster parameters.
11
11
12
-
TiUP supports deploying TiDB, TiFlash, TiDB Binlog, TiCDC, and monitoring system. This document introduces how to deploy TiDB clusters of different topologies.
12
+
TiUP supports deploying TiDB, TiFlash, TiDB Binlog, TiCDC, and the monitoring system. This document introduces how to deploy TiDB clusters of different topologies.
13
13
14
14
## Step 1: Prerequisites and precheck
15
15
@@ -191,3 +191,16 @@ If the output log includes ```Started cluster `tidb-test` successfully```, the s
191
191
```
192
192
193
193
In addition, you also need to verify the status of the monitoring system, TiDB Dashboard, and the execution of simple SQL commands. For the specific operations, see [Verify Cluster Status](/post-installation-check.md).
194
+
195
+
## What's next
196
+
197
+
If you have deployed [TiFlash](/tiflash/tiflash-overview.md) along with the TiDB cluster, see the following documents:
198
+
199
+
- [Use TiFlash](/tiflash/use-tiflash.md)
200
+
- [Maintain a TiFlash Cluster](/tiflash/maintain-tiflash.md)
201
+
- [TiFlash Alert Rules and Solutions](/tiflash/tiflash-alert-rules.md)
Copy file name to clipboardExpand all lines: ticdc-deployment-topology.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,4 +31,5 @@ TiCDC is a tool for replicating the incremental data of TiDB, introduced in TiDB
31
31
32
32
> **Note:**
33
33
>
34
-
> You do not need to manually create the `tidb` user in the configuration file. The TiUP cluster component automatically creates the `tidb` user on the target machines. You can customize the user, or keep the user consistent with the control machine.
34
+
> - You do not need to manually create the `tidb` user in the configuration file. The TiUP cluster component automatically creates the `tidb` user on the target machines. You can customize the user, or keep the user consistent with the control machine.
35
+
> - If you configure the deployment directory as a relative path, the cluster will be deployed in the home directory of the user.
Copy file name to clipboardExpand all lines: tidb-binlog-deployment-topology.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,3 +44,4 @@ The key parameters in the topology configuration templates are as follows:
44
44
>
45
45
> - When editing the configuration file template, if you do not need custom ports or directories, modify the IP only.
46
46
> - You do not need to manually create the `tidb` user in the configuration file. The TiUP cluster component automatically creates the `tidb` user on the target machines. You can customize the user, or keep the user consistent with the control machine.
47
+
> - If you configure the deployment directory as a relative path, the cluster will be deployed in the home directory of the user.
Copy file name to clipboardExpand all lines: tiflash-deployment-topology.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,4 +33,5 @@ TiFlash is a columnar storage engine, and gradually becomes the standard cluster
33
33
34
34
> **Note:**
35
35
>
36
-
> You do not need to manually create the `tidb` user in the configuration file. The TiUP cluster component automatically creates the `tidb` user on the target machines. You can customize the user, or keep the user consistent with the control machine.
36
+
> - You do not need to manually create the `tidb` user in the configuration file. The TiUP cluster component automatically creates the `tidb` user on the target machines. You can customize the user, or keep the user consistent with the control machine.
37
+
> - If you configure the deployment directory as a relative path, the cluster will be deployed in the home directory of the user.
0 commit comments