Skip to content

Commit 83fb483

Browse files
authored
tiflash: Clarified profiles.default.max_memory_usage_for_all_queries (#21168) (#21178)
1 parent 77eb261 commit 83fb483

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tiflash/tiflash-configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,9 +381,9 @@ Note that the following parameters only take effect in TiFlash logs and TiFlash
381381

382382
- The memory usage limit for the generated intermediate data in all queries.
383383
- When the value is an integer, the unit is byte. For example, `34359738368` means 32 GiB of memory limit, and `0` means no limit.
384-
- 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.
384+
- Starting from v6.6.0, you can set the value to a floating-point number in the range of `[0.0, 1.0)`. This number represents the ratio of the allowed memory usage to the total node memory. For example, `0.8` means 80% of the total memory, and `0.0` means no limit.
385385
- When the queries attempt to consume memory that exceeds this limit, the queries are terminated and an error is reported.
386-
- Default value: `0.8`, which means 80% of the total memory.
386+
- Default value: `0.8`, which means 80% of the total memory. Before v6.6.0, the default value is `0`, which means no limit.
387387

388388
##### `cop_pool_size` <span class="version-mark">New in v5.0</span>
389389

0 commit comments

Comments
 (0)