log_disk_percentage specifies the percentage of the total disk space occupied by redo logs.
Note
This parameter is available since OceanBase Database V4.0.0.
| Attribute | 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 disk space occupied by redo logs based on whether the logs and data share the same disk.
- If a disk is shared, the percentage of the disk space occupied by redo logs is 30%, which indicates that 30% of the total disk space will be allocated.
- If a disk is exclusive for redo logs, the percentage of disk space occupied by redo logs is 90%, which indicates that 90% of the total disk space will be allocated.