datafile_disk_percentage specifies the percentage of the disk space occupied by data files. The disk of the data_dir directory will be initialized by OceanBase Database to store data.
Note
Starting from OceanBase Database V4.0.0, the default value is changed from 90 to 0, and the value range is changed from [5,99] to [0,99].
| Attribute | Description |
|---|---|
| Type | Integer |
| Default value | 0 |
| Value range | [0, 99] |
| Effective upon OBServer node restart | No |
Note
- If this parameter and the
datafile_sizeparameter are both specified, the value of thedatafile_sizeparameter prevails. For more information about thedatafile_sizeparameter, see datafile_size. - If you set this parameter to 0, the system automatically calculates the percentage of the total disk space occupied by data files based on whether the logs and data share the same disk.
- If the same disk is shared, the percentage of the total disk space occupied by data files is 60%.
- If the disk is not shared, the percentage of the total disk space occupied by data files is 90%.