Note
This parameter is available starting with V4.2.5.
Description
kv_group_commit_batch_size specifies the size of batch operations in group commit for OBKV. When the value is 1, group commit is disabled. When the value is greater than 1, group commit is enabled, and the value specifies the size of each commit batch.
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 | Int |
| Default value | 1 |
| Value range | (0, +∞) |
| 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 group commit batch size to 10.
obclient> ALTER SYSTEM SET kv_group_commit_batch_size = 10;