Note
For V4.4.0, this parameter is available starting with V4.4.0.
Description
load_data_diagnosis_log_compression specifies the compression algorithm used for diagnostic logs.
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 | AUTO |
| Value range |
NoteIf the compression algorithm is set to |
| 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 whether to compress diagnostic log files and the compression algorithm to use.
Examples
Set the compression algorithm for diagnostic logs to ZSTD.
obclient> ALTER SYSTEM SET load_data_diagnosis_log_compression = 'ZSTD';
References
- For information about how to set the size of a single diagnostic log file, see load_data_diagnosis_log_max_size.
- For information about how to enable error diagnosis during the import of a URL table, see LOAD DATA (MySQL mode) and LOAD DATA (Oracle mode).
