Note
Due to the architecture upgrade of OceanBase Database V4.x, this parameter is no longer applicable and has been deprecated since OceanBase Database V4.0.0. No alternative parameter is provided yet.
Description
clog_expire_days specifies the retention period of clog files. When the retention period of a clog file expires, the file is deleted.
Attributes
| Attribute | Description | |
|---|---|---|
| Type | Time | |
| Default value | 3, indicating 3 days |
|
| Value range | [1, 365] | |
| Modifiable | No | |
| Effective upon OBServer node restart | No |
Considerations
This parameter is used with the clog_disk_usage_limit_percentage parameter but has a lower priority. If the clog disk usage exceeds 80% but the interval between the time when a clog file was last updated and the current time is less than the value of clog_expire_days, the clog file is still deleted.