Note
This parameter is removed since OceanBase Database 4.0.0 and there is no alternative solution yet.
Description
clog_expire_days specifies the retention period of clog files. When the retention period of a clog file expires, it will be 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.