Skip to content

Commit

Permalink
Add some explanation for tiflash tuning performance doc (#15496)
Browse files Browse the repository at this point in the history
  • Loading branch information
yibin87 authored Nov 24, 2023
1 parent fa7bb76 commit 1887002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiflash/tune-tiflash-performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ mysql> explain analyze select max(l_shipdate), max(l_commitdate), max(l_receiptd
set @@tidb_max_tiflash_threads = 20;
```

在以下示例中,`tidb_max_tiflash_threads` 设置前,所有 TiFlash 的算子的执行线程数为 24`tidb_max_tiflash_threads` 设置后,所有 TiFlash 的算子的执行线程数为 60
在以下示例中,设置 `tidb_max_tiflash_threads` 前,单个 TiFlash 实例的 request 执行的并发度为 8 个线程。该集群一共有 3 个 TiFlash 实例,因此所有 TiFlash 实例上的 request 执行的线程总数是 24当将 `tidb_max_tiflash_threads` 设置为 `20`,所有 TiFlash 实例上的 request 执行的线程总数是 60

`tidb_max_tiflash_threads` 设置前:

Expand Down

0 comments on commit 1887002

Please sign in to comment.