log_disk_percentage specifies the percentage of the total disk space occupied by REDO logs.
Note
This parameter is available in OceanBase Database V4.0.0 and later.
| Property | Description |
|---|---|
| Type | Integer |
| Default value | 0 |
| Value range | [0,99] |
| Effective upon OBServer node restart | No |
Note
- This parameter takes effect only when you set
log_disk_sizeto 0.For more information aboutlog_disk_size, see log_disk_size. - If you set this parameter to 0, the system automatically calculates the percentage of the total disk space occupied by REDO logs 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 REDO logs is 30%, and 30% of the total disk space will be allocated.
- If the disk is not shared, the percentage of the total disk space occupied by REDO logs is 90%, and 90% of the total disk space will be allocated.