Note
- Due to limited thread resources, V4.x no longer supports configuring thread resources by task type. This parameter is removed starting from V4.0.0.
- In V4.x, use the
compaction_low_thread_scoreparameter to set the number of working threads for low-priority compactions. For more information about the tenant-level parametercompaction_low_thread_score, see compaction_low_thread_score.
Description
merge_thread_count specifies the number of threads for daily major compactions.
Attributes
| Attribute | Description |
|---|---|
| Parameter 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 threads is calculated as min{10,cpu_cnt}, where cpu_cnt is the number of CPU cores in the system.