parallel_degree_limit specifies the maximum degree of parallelism (DOP) that the optimizer can select when the Auto DOP strategy is used.
Note
This variable is introduced since OceanBase Database V4.2.0.
| Attribute | Description |
|---|---|
| Type | UINT |
| Default value | 0
NoteThe value 0 indicates that the DOP is not limited. |
| Value range | [0, 9223372036854775807] |
| Applicable scope |
|
Examples
set parallel_degree_limit =256;
set global parallel_degree_limit =256;