Note
This parameter is available starting with V4.2.1.
Description
compaction_schedule_tablet_batch_cnt specifies the maximum number of partitions scheduled in each batch during compaction scheduling.
Privilege requirements
Query the parameter
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 50000 |
| Value range | [10000, 200000] |
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Examples
Set the maximum number of partitions scheduled in each batch during compaction scheduling to 50000.
obclient> ALTER SYSTEM SET compaction_schedule_tablet_batch_cnt = 50000;