From 917b4353673b890bdeaa5ef71f8eef47285e4436 Mon Sep 17 00:00:00 2001 From: Ti Chi Robot Date: Mon, 9 Sep 2024 10:56:53 +0800 Subject: [PATCH] Update tiflash-configuration.md (#18828) (#18841) --- tiflash/tiflash-configuration.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tiflash/tiflash-configuration.md b/tiflash/tiflash-configuration.md index af690624184a..459a0e1f7576 100644 --- a/tiflash/tiflash-configuration.md +++ b/tiflash/tiflash-configuration.md @@ -207,6 +207,13 @@ delta_index_cache_size = 0 ## see known issue [#5576](https://github.com/pingcap/tiflash/issues/5576). # dt_enable_logical_split = false + ## `max_threads` indicates the internal thread concurrency when TiFlash executes an MPP task. + ## The default value is 0. When it is set to 0, + ## TiFlash uses the number of CPU cores as the execution concurrency. + ## This parameter only takes effect + ## when the system variable `tidb_max_tiflash_threads` is set to -1. + max_threads = 0 + ## The memory usage limit for the generated intermediate data in a single query. ## When the value is an integer, the unit is byte. For example, 34359738368 means 32 GiB of memory limit, and 0 means no limit. ## When the value is a floating-point number in the range of [0.0, 1.0), it means the ratio of the allowed memory usage to the total memory of the node. For example, 0.8 means 80% of the total memory, and 0.0 means no limit.