Overview
kv_group_commit_batch_size specifies the size of the batch operations executed during group commits in OBKV. A value of 1 disables group commit. A value greater than 1 enables group commit and specifies the size of each batch for group commit.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
This parameter can be modified by both the
systenant and user tenants.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Int |
| Default Value | 1 |
| Value range | (0, +∞) |
| Modifiable | Yes, you can use theALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Configuration example
Set the batch_size for group commits to 10.
obclient> ALTER SYSTEM SET kv_group_commit_batch_size = 10;