Note
This parameter is available starting with V2.1.
Description
default_compress specifies the default compression strategy when you create a table in Oracle mode.
Applicability
This parameter is applicable only to OceanBase Database in Oracle mode.
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 |
|---|---|
| Type | String |
| Default value | archive |
| Value range |
|
| 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. |
Examples
Enable Debug Sync and set the timeout to 3 seconds.
obclient> ALTER SYSTEM SET default_compress= 'NOCOMPRESS';
References
- Set the default compression algorithm for table data: default_compress_func