Note
- For V4.3.x, this parameter is available starting with V4.3.1.
- For V4.2.x, this parameter is available starting with V4.2.3.
Description
syslog_file_uncompressed_count specifies the maximum number of system log files that are not compressed. This parameter takes effect only when the value of syslog_compress_func is not none. Each type of system log file is calculated separately.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Parameter type | INT |
| Default value | 0 |
| Value range | [0, +∞) |
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Considerations
The value of this parameter specifies the minimum number of system log files that are not compressed. The actual number of system log files that are not compressed may exceed this value but will not be less than it.
Examples
Set the maximum number of system log files that are not compressed to 50.
obclient> ALTER SYSTEM SET syslog_file_uncompressed_count=50;
