Skip to content

Commit 0d2a1c8

Browse files
committed
Add unit size in human (brackets)
1 parent 3e6c4c0 commit 0d2a1c8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

system-variables.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ mysql> SELECT * FROM t1;
252252
### tidb_broadcast_join_threshold_size <span class="version-mark">New in v5.0</span>
253253

254254
- Scope: SESSION | GLOBAL
255-
- Default value: `104857600`
255+
- Default value: `104857600` (100 MiB)
256256
- Range: `[0, 9223372036854775807]`
257257
- Unit: Bytes
258258
- If the table size is less than the value of the variable, the Broadcast Hash Join algorithm is used. Otherwise, the Shuffled Hash Join algorithm is used.
@@ -841,7 +841,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
841841
### tidb_mem_quota_apply_cache <span class="version-mark">New in v5.0</span>
842842

843843
- Scope: SESSION | GLOBAL
844-
- Default value: `33554432`
844+
- Default value: `33554432` (32 MiB)
845845
- Range: `[0, 9223372036854775807]`
846846
- Unit: Bytes
847847
- This variable is used to set the memory usage threshold of the local cache in the `Apply` operator.
@@ -850,7 +850,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
850850
### tidb_mem_quota_query
851851

852852
- Scope: SESSION
853-
- Default value: `1073741824`
853+
- Default value: `1073741824` (1 GiB)
854854
- Range: `[-1, 9223372036854775807]`
855855
- Unit: Bytes
856856
- This variable is used to set the threshold value of memory quota for a query.
@@ -1043,7 +1043,7 @@ explain select * from t where age=5;
10431043
### tidb_query_log_max_len
10441044

10451045
- Scope: INSTANCE
1046-
- Default value: `4096`
1046+
- Default value: `4096` (4 KiB)
10471047
- Range: `[-1, 9223372036854775807]`
10481048
- Unit: Bytes
10491049
- The maximum length of the SQL statement output. When the output length of a statement is larger than the `tidb_query-log-max-len` value, the statement is truncated to output.

0 commit comments

Comments
 (0)