Note
This parameter is available starting with V1.4.
Description
tablet_size specifies the size of each tablet for parallel processing within a partition (such as major compactions and queries).
Privilege requirements
Query the parameter
The
systenant and all user tenants can query the value of 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 for parallel processing within a partition (such as major compactions and queries) to 128M.
obclient> ALTER SYSTEM SET tablet_size = '128M';
