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 | varchar |
| 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
If this parameter and the datafile_disk_percentage parameter are both specified, the value of this parameter prevails. For more information about the datafile_disk_percentage parameter, see datafile_disk_percentage.
Examples
obclient> ALTER SYSTEM SET datafile_size='80G';