clog_expire_days specifies the retention period of clog files. When the retention period of a clog file expires, it will be deleted.
Note
This parameter is deprecated since OceanBase Database V4.0.0.
| Parameter | Description |
|---|---|
| Type | Time |
| Default value | 3, in days |
| Value range | [1, 365] |
| Effective upon restart of OBServer node | No |
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.