Skip to content

Commit

Permalink
Update explore-htap.md
Browse files Browse the repository at this point in the history
Co-authored-by: Enwei <jinenwei@pingcap.com>
  • Loading branch information
qiancai and en-jin19 authored Aug 27, 2021
1 parent c82a730 commit fbd5243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion explore-htap.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Before exploring the features of TiDB HTAP, you need to deploy TiDB and the corr
- If you have not deployed a TiDB cluster, see [Deploy a TiDB Cluster using TiUP](/production-deployment-using-tiup.md). Based on the minimal TiDB topology, you also need to deploy the [topology of TiFlash](/tiflash-deployment-topology.md).
- When deciding how to choose the number of TiFlash nodes, consider the following scenarios:

- If you mainly need OLTP that runs small-scale analytical processing, deploy one or several TiFlash nodes. They can dramatically increase the speed of analytic queries.
- If your use case requires OLTP with small-scale analytical processing and Ad-Hoc queries, deploy one or several TiFlash nodes. They can dramatically increase the speed of analytic queries.
- If the OLTP throughput does not cause significant pressure to I/O usage rate of the TiFlash nodes, each TiFlash node uses more resources for computation, and thus the TiFlash cluster can have near-linear scalability. The number of TiFlash nodes should be tuned based on expected performance and response time.
- If the OLTP throughput is relatively high (for example, the write or update throughput is higher than 10 million lines/hours), due to the limited write capacity of network and physical disks, the I/O between TiKV and TiFlash becomes a bottleneck and is also prone to read and write hotspots. In this case, the number of TiFlash nodes has a complex non-linear relationship with the computation volume of analytical processing, so you need to tune the number of TiFlash nodes based on the actual status of the system.

Expand Down

0 comments on commit fbd5243

Please sign in to comment.