Overview
ddl_thread_score specifies the number of threads used by DDL tasks.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Both the
systenant and user tenants can modify this parameter.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Int |
| Default Value | 0: the default number of threads is 2. |
| Value range | [0, 100] |
| Modifiable | Yes, you can use theALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Usage instructions
This parameter can be used to control the parallelism of DDL column deletion and the cross-tenant table import phase of table-level restore.
If you find that low-priority tasks are running too slowly, you can appropriately increase the value of this parameter. It is recommended to double the value each time.
Configuration example
Set the number of threads for DDL tasks in this tenant to 4.
obclient> ALTER SYSTEM SET ddl_thread_score = 4;