Description
The compaction_low_thread_score parameter specifies the number of worker threads for low-priority compaction tasks. A low-priority compaction is one performed on a major SSTable.
Privilege requirements
Query privilege
Users in the
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify privilege
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. |
| Value range | [0, 100] |
| Modifiable | Yes. It can be modified by using the ALTER SYSTEM SET statement. |
| Effective upon OBServer node restart | No |
Example
Set the number of worker threads for low-priority compaction tasks to 6.
obclient> ALTER SYSTEM SET compaction_low_thread_score= 6;
