Description
The compaction_high_thread_score parameter specifies the number of threads for high-priority compactions. A high-priority compaction is one that is performed on a mini SSTable.
Privilege requirements
Query the parameter
Users in the
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
Users in the
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 0, which indicates to use the internal default value 6. |
| Valid values | [0, 100] |
| Modifiable | Yes. It can be modified by using the ALTER SYSTEM SET statement. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Example
Set the number of threads for high-priority compactions to 6.
obclient> ALTER SYSTEM SET compaction_high_thread_score= 6;