Overview
load_data_diagnosis_log_max_size specifies the maximum size of a single diagnostic log file.
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 | Capacity |
| Default Value | 256M |
| Value range | [0M, +∞) |
| 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
Audit records are continuously appended to the diagnosis.log file. When the size of diagnosis.log reaches load_data_diagnosis_log_max_size, a new file is automatically generated and writing continues there.
Configuration example
Set the size of a single diagnostic log file to 128 MB.
obclient> ALTER SYSTEM SET load_data_diagnosis_log_max_size = '128M';
References
- For information about the compression algorithm used for diagnostic logs, see load_data_diagnosis_log_compression.
- For more information about error diagnostics during the import of external tables via URLs, see LOAD DATA.