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_all parameter specifies whether to enable 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 | Bool |
| Default value | False |
| Valid values | [true, false] |
| Modifiable | Yes. You can execute the ALTER SYSTEM SET statement to modify this parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Examples
Enable clog storage compression for the
tenant_nametenant in the sys tenant.obclient> ALTER SYSTEM SET log_storage_compress_all='True' tenant = 'tenant_name';Enable clog storage compression for all tenants.
obclient> ALTER SYSTEM SET log_storage_compress_all='True' tenant=all;Enable clog storage compression for the current tenant.
obclient> ALTER SYSTEM SET log_storage_compress_all='True';