Overview
load_data_diagnosis_log_compression specifies the compression algorithm used for diagnostic logs.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Both the
systenant and user tenants can modify this parameter.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | String |
| Default Value | AUTO |
| Value range |
NoteWhen the compression algorithm is specified as |
| Modifiable | Yes, you can use theALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Usage instructions
This parameter specifies whether to compress diagnostic log files and which compression algorithm to use.
Configuration example
Set the compression algorithm for diagnostic logs to ZSTD.
obclient> ALTER SYSTEM SET load_data_diagnosis_log_compression = 'ZSTD';
References
- For information about setting the maximum size of a single diagnostic log file, see load_data_diagnosis_log_max_size.
- For information about enabling error diagnostics during the import of external tables via URLs, see LOAD DATA.