Overview
log_disk_size specifies the size of the redo log disk, which is the total space of the log disk available to this OBServer node.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Only the
systenant can modify this parameter. User tenants cannot modify it.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Varchar |
| Default Value | 0. The default unit is MB. You must specify the unit when configuring it. |
| Value range | 0M, +∞) |
| Modifiable | Yes, you can use theALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Usage instructions
- When the value of this parameter is 0, log disk space is allocated based on the value set by the
log_disk_percentageparameter. For more information about thelog_disk_percentageparameter, see log_disk_percentage. - When an OBServer node starts, it pre-allocates a sufficient number of log files. For example, if you configure
log_disk_size = 100 G, the OBServer node will pre-allocate 100 GB of log files as the log file pool upon its first startup. - When creating a tenant unit on an OBServer node, sufficient log disk space is reserved for the unit. If the local remaining log disk space (total available log disk space - allocated space) does not meet the unit specification requirements, the creation of the tenant unit fails.
Configuration example
Set the size of the redo log disk to 40 GB.
obclient> ALTER SYSTEM SET log_disk_size='40G';
References
[Modify resource specifications