Skip to content

Commit

Permalink
system-variables: update permitted ranges (#6665)
Browse files Browse the repository at this point in the history
  • Loading branch information
morgo authored Nov 1, 2021
1 parent 0907b90 commit 966c86d
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ Constraint checking is always performed in place for pessimistic transactions (d
- Scope: GLOBAL
- Default value: `4`
- Range: `[1, 128]`
- Range: `[1, 256]`
- Unit: Threads
- This variable is used to set the concurrency of the DDL operation in the `re-organize` phase.
Expand All @@ -595,7 +595,7 @@ Constraint checking is always performed in place for pessimistic transactions (d
- Scope: SESSION | GLOBAL
- Default value: `15`
- Range: `[1, 2147483647]`
- Range: `[1, 256]`
- Unit: Threads
- This variable is used to set the concurrency of the `scan` operation.
- Use a bigger value in OLAP scenarios, and a smaller value in OLTP scenarios.
Expand Down Expand Up @@ -863,7 +863,7 @@ MPP is a distributed computing framework provided by the TiFlash engine, which a
- Scope: SESSION | GLOBAL
- Default value: `5`
- Range: `[1, 2147483647]`
- Range: `[1, 256]`
- Unit: Threads
This variable is used to set the concurrency of the following SQL operators (to one value):
Expand Down Expand Up @@ -910,7 +910,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
- Scope: GLOBAL
- Default value: `-1`
- Range: `[1, 128]`
- Range: `[1, 256]`
- Unit: Threads
- Specifies the number of threads in the [Resolve Locks](/garbage-collection-overview.md#resolve-locks) step of GC. A value of `-1` means that TiDB will automatically decide the number of garbage collection threads to use.
Expand Down Expand Up @@ -978,7 +978,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
- Scope: SESSION | GLOBAL
- Default value: `-1`
- Range: `[1, 2147483647]`
- Range: `[1, 256]`
- Unit: Threads
- This variable is used to set the concurrency of the `hash join` algorithm.
- A value of `-1` means that the value of `tidb_executor_concurrency` will be used instead.
Expand All @@ -991,7 +991,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
- Scope: SESSION | GLOBAL
- Default value: `-1`
- Range: `[1, 2147483647]`
- Range: `[1, 256]`
- Unit: Threads
- This variable is used to set the concurrency of executing the concurrent `hash aggregation` algorithm in the `final` phase.
- When the parameter of the aggregate function is not distinct, `HashAgg` is run concurrently and respectively in two phases - the `partial` phase and the `final` phase.
Expand All @@ -1005,7 +1005,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
- Scope: SESSION | GLOBAL
- Default value: `-1`
- Range: `[1, 2147483647]`
- Range: `[1, 256]`
- Unit: Threads
- This variable is used to set the concurrency of executing the concurrent `hash aggregation` algorithm in the `partial` phase.
- When the parameter of the aggregate function is not distinct, `HashAgg` is run concurrently and respectively in two phases - the `partial` phase and the `final` phase.
Expand All @@ -1028,7 +1028,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
- Scope: SESSION | GLOBAL
- Default value: `-1`
- Range: `[1, 2147483647]`
- Range: `[1, 256]`
- Unit: Threads
- This variable is used to set the concurrency of the `index lookup` operation.
- Use a bigger value in OLAP scenarios, and a smaller value in OLTP scenarios.
Expand All @@ -1042,7 +1042,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
- Scope: SESSION | GLOBAL
- Default value: `-1`
- Range: `[1, 2147483647]`
- Range: `[1, 256]`
- Unit: Threads
- This variable is used to set the concurrency of the `index lookup join` algorithm.
- A value of `-1` means that the value of `tidb_executor_concurrency` will be used instead.
Expand All @@ -1060,7 +1060,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
- Scope: SESSION | GLOBAL
- Default value: `1`
- Range: `[1, 2147483647]`
- Range: `[1, 256]`
- Unit: Threads
- This variable is used to set the concurrency of the `serial scan` operation.
- Use a bigger value in OLAP scenarios, and a smaller value in OLTP scenarios.
Expand Down Expand Up @@ -1325,7 +1325,7 @@ explain select * from t where age=5;
- Scope: SESSION | GLOBAL
- Default value: `-1`
- Range: `[-1, 2147483647]`
- Range: `[-1, 256]`
- Unit: Threads
- This variable is used to set the concurrency of the `Projection` operator.
- A value of `-1` means that the value of `tidb_executor_concurrency` will be used instead.
Expand Down Expand Up @@ -1528,7 +1528,7 @@ SET tidb_slow_log_threshold = 200;
- Scope: SESSION | GLOBAL
- Default value: `-1`
- Range: `[1, 2147483647]`
- Range: `[1, 256]`
- Unit: Threads
- This variable is used to set the concurrency degree of the window operator.
- A value of `-1` means that the value of `tidb_executor_concurrency` will be used instead.
Expand Down

0 comments on commit 966c86d

Please sign in to comment.