Note
This parameter was introduced in V2.2.50.
Description
The datafile_size parameter specifies the size of a data file.
Attributes
| Attribute | Description |
|---|---|
| Type | Capacity |
| Default value | 0M. The default unit is MB. You must specify the unit when configuring this parameter. |
| Value range | [0M, +∞) |
| Changeable | Yes. You can execute the ALTER SYSTEM SET statement to modify it. |
| Effective upon OBServer node restart | No |
Considerations
- After this parameter is set, it does not support reduction. Only expansion is supported.
- If this parameter and the
datafile_disk_percentageparameter are both specified, the value of this parameter prevails. For more information about thedatafile_disk_percentageparameter, see datafile_disk_percentage.
Example
Set the size of data files to 80 GB.
obclient> ALTER SYSTEM SET datafile_size='80G';