Skip to content

Commit

Permalink
Add unit size in human (brackets)
Browse files Browse the repository at this point in the history
  • Loading branch information
morgo committed Jun 14, 2021
1 parent 3e6c4c0 commit 0d2a1c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ mysql> SELECT * FROM t1;
### tidb_broadcast_join_threshold_size <span class="version-mark">New in v5.0</span>

- Scope: SESSION | GLOBAL
- Default value: `104857600`
- Default value: `104857600` (100 MiB)
- Range: `[0, 9223372036854775807]`
- Unit: Bytes
- 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.
Expand Down Expand Up @@ -841,7 +841,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
### tidb_mem_quota_apply_cache <span class="version-mark">New in v5.0</span>

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

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

- Scope: INSTANCE
- Default value: `4096`
- Default value: `4096` (4 KiB)
- Range: `[-1, 9223372036854775807]`
- Unit: Bytes
- 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.
Expand Down

0 comments on commit 0d2a1c8

Please sign in to comment.