Overview
syslog_file_uncompressed_count specifies the maximum number of uncompressed system log files. This parameter takes effect only when syslog_compress_func is set to a value other than none. The number of uncompressed system log files is calculated separately for each type of system log file.
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 | INT |
| Default Value | 0 |
| Value range | 0, +∞) |
| 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
The value of this parameter specifies the minimum number of files for each log type that are not compressed. The actual number of uncompressed files may exceed this value, but it will never be less than this value.
Configuration example
Set the number of files for which system logs are not compressed to 50.
obclient> ALTER SYSTEM SET syslog_file_uncompressed_count=50;
References
- [Logs
- Log control methods