Note
This parameter is available starting with V1.4.
Description
tablet_size specifies the size of each tablet during parallel processing (such as major compactions and queries) within a partition.
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
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Capacity |
| Default value | 128M. The default unit is MB. You must specify the unit when you configure this parameter. |
| 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. |
Considerations
The default value of tablet_size must be a multiple of 2M. If the value is 0, no parallel processing is performed within a partition.
Examples
Set the size of each tablet during parallel processing (such as major compactions and queries) within a partition to 128M.
obclient> ALTER SYSTEM SET tablet_size = '128M';