Note
For V2.2.50, this parameter is available starting with V2.2.50.
Description
datafile_size specifies the size of a data file.
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 | 0 MB. The default unit is MB. You must specify the unit when you configure this parameter. |
| Value range | [0 MB, +∞) |
| 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
- After this parameter is set, it cannot be reduced. It can only be increased.
- If this parameter and the
datafile_disk_percentageparameter are both configured, the value of this parameter takes precedence. For more information about thedatafile_disk_percentageparameter, see datafile_disk_percentage.
Examples
Set the size of a data file to 80 GB.
obclient> ALTER SYSTEM SET datafile_size='80G';