Note
This parameter is available starting with V4.3.2.
Description
storage_rowsets_size specifies the number of rows in a batch that is vectorized in the columnar engine.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
The
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 8192 |
| Value range | (0, 1048576] |
| 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. |
Considerations
This parameter applies only to the columnar engine. It specifies the size of a batch that is vectorized in the columnar engine. You can adjust this parameter based on the number of rows in a microblock to improve the execution efficiency of the columnar engine.
Examples
Set the size of a batch that is vectorized in the columnar engine to 16384.
obclient> ALTER SYSTEM SET storage_rowsets_size=16384;
