Note
For V4.2.0, this parameter is available starting with V4.2.0.
Description
partition_balance_schedule_interval specifies the partition balance schedule interval.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
The
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Time |
| Default value | 2h |
| Value range | [0s,+∞)
NoteWhen the value is 0s, the background automatic partition balance is disabled. |
| 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
Modify the parameter information of only the current user tenant:
obclient [test]> ALTER SYSTEM SET partition_balance_schedule_interval = '1h';Modify the parameter information of any tenant in the
systenant:obclient [test]> ALTER SYSTEM SET partition_balance_schedule_interval = '1h' tenant = all; obclient [test]> ALTER SYSTEM SET partition_balance_schedule_interval = '1h' tenant = 'tenant_name';