Note
This parameter is introduced since OceanBase Database V2.2.50.
Description
datafile_size specifies the size of a data file. You must specify the unit. By default, MB is used.
Attributes
| Attribute | Description |
|---|---|
| Type | Capacity |
| Default value | 0M. The unit is MB by default. Specify the unit when you configure this parameter. |
| Value range | [0M, +∞) |
| Modifiable | No |
| Effective upon OBServer node restart | No |
Considerations
- Once this parameter is specified, it cannot be reduced. Only increased.
- 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.
Examples
Set the size of the data file to 80 GB.
obclient> ALTER SYSTEM SET datafile_size='80G';