parallel_degree_limit specifies the maximum degree of parallelism (DOP) that the optimizer can select when the Auto DOP policy is used.
Note
This variable is available in OceanBase Database V4.2.0 and later.
| Attribute | Description |
|---|---|
| Type | uint |
| Default value | 0
NoteA value of 0 indicates that the DOP is not limited. |
| Value range | [0, 9223372036854775807] |
| Applicable scope |
|
Sample code
set parallel_degree_limit =256;
set global parallel_degree_limit =256;