Note
- In V4.3.x, this parameter was introduced in V4.3.1.
- In V4.2.x, this parameter was introduced in V4.2.2.
Description
The log_storage_compress_func parameter specifies the compression algorithm for clog storage compression.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
The
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | string |
| Default value | lz4_1.0 |
| Value range |
|
| Modifiable | Yes. You can execute the ALTER SYSTEM SET statement to modify this parameter. |
| Effective after restart | No. The setting takes effect immediately. |
Examples
Set the clog storage compression algorithm of the
tenant_nametenant in the sys tenant tolz4_1.0.obclient> ALTER SYSTEM SET log_storage_compress_func='lz4_1.0' tenant = 'tenant_name';Set the clog storage compression algorithm of all tenants to
lz4_1.0.obclient> ALTER SYSTEM SET log_storage_compress_func='lz4_1.0' tenant=all;Set the clog storage compression algorithm of the current tenant to
lz4_1.0.obclient> ALTER SYSTEM SET log_storage_compress_func='lz4_1.0';