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 query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.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 maximum size of a single diagnostic log file, see load_data_diagnosis_log_max_size.
- For information about how to enable error diagnostics during the import of an external table from a URL, see LOAD DATA (MySQL-compatible mode) and LOAD DATA (Oracle-compatible mode).