Note
This parameter is available starting with V4.0.0.
Description
ob_compaction_schedule_interval specifies the time interval for scheduling major compactions.
Privilege requirements
Query the parameter
sysand all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
sysand user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Time |
| Default value | 120s |
| Value range | [3s, 5m] |
| 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 time interval for scheduling major compactions to 120s.
obclient> ALTER SYSTEM SET ob_compaction_schedule_interval= '120s';