Skip to content

Commit d352c22

Browse files
authored
config: update default path of temp-storage-path (#2599)
Signed-off-by: Qiannan Lyu <lvqiannan@gmail.com>
1 parent 7c1e784 commit d352c22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tidb-configuration-file.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ The TiDB configuration file supports more options than command-line parameters.
3333
### `tmp-storage-path`
3434

3535
+ Specifies the temporary storage path for some operators when a single SQL statement exceeds the memory quota specified by `mem-quota-query`.
36-
+ Default value: `<TMPDIR>/tidb/tmp-storage`
37-
+ It only takes effect when `oom-use-tmp-storage` is `true`.
36+
+ Default value: `<temporary directory of OS>/<OS user ID>_tidb/MC4wLjAuMDo0MDAwLzAuMC4wLjA6MTAwODA=/tmp-storage`. `MC4wLjAuMDo0MDAwLzAuMC4wLjA6MTAwODA=` is the `Base64` encoding result of `<host>:<port>/<statusHost>:<statusPort>`.
37+
+ This configuration takes effect only when `oom-use-tmp-storage` is `true`.
3838

3939
### `tmp-storage-quota`
4040

0 commit comments

Comments
 (0)