Overview
compaction_high_thread_score specifies the number of worker threads for high-priority compaction. High priority refers to the compaction of mini SSTables.
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: Use the internal default value 6. |
| 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. |
Configuration example
Set the number of worker threads for high-priority compaction to 6.
obclient> ALTER SYSTEM SET compaction_high_thread_score= 6;