Note
- For OceanBase Database V4.3.x, this parameter was introduced in OceanBase Database V4.3.1.
- For OceanBase Database V4.2.x, this parameter was introduced in OceanBase Database V4.2.3.
Description
syslog_file_uncompressed_count specifies the minimum number of uncompressed system log files. This parameter is valid only when the syslog_compress_func parameter is set to a value other than none. The number of uncompressed system log files is counted separately for each system log type.
Limitations
Query the parameter
In the
systenant or a user tenant, you can execute theSHOW PARAMETERSstatement to query the parameter or query theGV$OB_PARAMETERSview for the parameter. In thesystenant, you can also query theinformation_schema.PARAMETERSview for the parameter.Modify the parameter
You can modify the parameter only in the
systenant.
Attributes
| Attribute | Description |
|---|---|
| Type | Integer |
| 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
This parameter specifies the minimum number of uncompressed system log files for each type of system log. The actual number of uncompressed system log files can be greater than or equal to the specified value.
Example
Set the minimum number of uncompressed system log files to 50.
obclient> ALTER SYSTEM SET syslog_file_uncompressed_count=50;