Note
For V4.0.0, this parameter is available starting with V4.0.0.
Description
compaction_low_thread_score specifies the number of working threads for low-priority major compactions. Low-priority major compactions refer to major compactions of major SSTables.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
The
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 0, which indicates that the internal default value of 6 is used. |
| Value range | [0, 100] |
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Examples
Set the number of working threads for low-priority major compactions to 6.
obclient> ALTER SYSTEM SET compaction_low_thread_score= 6;