Note
- Due to limited thread resources, the V4.x version does not support configuring thread resources based on specific task types. This parameter was removed in V4.0.0.
- In the V4.x version, the
compaction_low_thread_scoreparameter is used to set the number of worker threads for low-priority compactions. For more information about the tenant-level parametercompaction_low_thread_score, see compaction_low_thread_score.
Description
The merge_thread_count parameter specifies the number of threads for daily major compactions.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 0 |
| Value range | [0, 256] |
| Effective upon OBServer node restart | No |
Considerations
If the value of this parameter is 0, the number of major compaction worker threads is calculated as min{10,cpu_cnt}, where cpu_cnt is the number of system CPUs.