Note
This parameter was introduced in V2.2.50.
Description
The datafile_size parameter specifies the size of data files.
Attributes
| Attribute | Description |
|---|---|
| Parameter type | Capacity |
| Default value | 0M. The default unit is MB. Specify the unit when you configure this parameter. |
| Value range | [0M, +∞) |
| Modifiability | Yes. You can use the ALTER SYSTEM SET statement to modify it. |
| Restart requirement | No |
Considerations
- Once this parameter is set, it can only be increased and cannot be decreased.
- If this parameter and
datafile_disk_percentageare both configured, the value of this parameter takes effect. For more information aboutdatafile_disk_percentage, see datafile_disk_percentage.
Example
Set the size of data files to 80 GB.
obclient> ALTER SYSTEM SET datafile_size='80G';