Note
This parameter is removed in OceanBase Database V4.0.0 and later. 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, which indicates 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 will still be deleted.