Overview
tablet_size specifies the size of each tablet during internal parallel processing (such as major compactions and queries) within a partition.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Only the
systenant can modify this parameter. User tenants cannot modify it.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Capacity |
| Default Value | 128 MB. The default unit is MB. You must specify the unit when configuring it. |
| Value range | 0, +∞) |
| Modifiable | Yes, you can use the following methods:ALTER SYSTEM SETStatement modification. |
| Whether to Restart the OBServer Node for the Change to Take Effect | No, the setting takes effect immediately. |
Usage instructions
The default value of tablet_size must be a multiple of 2 MB. A value of 0 indicates that parallel processing within partitions is not used.
Configuration example
Set the size of each shard to 128 MB for internal parallel processing (such as major compactions and queries) within the partition.
obclient> ALTER SYSTEM SET tablet_size = '128M';
References
[Partition types