You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: system-variables.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -252,7 +252,7 @@ mysql> SELECT * FROM t1;
252
252
### tidb_broadcast_join_threshold_size <spanclass="version-mark">New in v5.0</span>
253
253
254
254
- Scope: SESSION | GLOBAL
255
-
- Default value: `104857600`
255
+
- Default value: `104857600` (100 MiB)
256
256
- Range: `[0, 9223372036854775807]`
257
257
- Unit: Bytes
258
258
- 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
841
841
### tidb_mem_quota_apply_cache <span class="version-mark">New in v5.0</span>
842
842
843
843
- Scope: SESSION | GLOBAL
844
-
- Default value: `33554432`
844
+
- Default value: `33554432` (32 MiB)
845
845
- Range: `[0, 9223372036854775807]`
846
846
- Unit: Bytes
847
847
- 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
850
850
### tidb_mem_quota_query
851
851
852
852
- Scope: SESSION
853
-
- Default value: `1073741824`
853
+
- Default value: `1073741824` (1 GiB)
854
854
- Range: `[-1, 9223372036854775807]`
855
855
- Unit: Bytes
856
856
- 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;
1043
1043
### tidb_query_log_max_len
1044
1044
1045
1045
- Scope: INSTANCE
1046
-
- Default value: `4096`
1046
+
- Default value: `4096` (4 KiB)
1047
1047
- Range: `[-1, 9223372036854775807]`
1048
1048
- Unit: Bytes
1049
1049
- 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