Note
For V4.3.4, this parameter is available starting with V4.3.4.
Description
default_load_mode specifies the data import mode in data import scenarios.
Privilege requirements
Query the parameter
sysand all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
sysand user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | String |
| Default value | DISABLED |
| 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. |
Considerations
If you do not specify a bypass import hint in a data import operation by using the LOAD DATA INFILE, INSERT INTO SELECT, or CREATE TABLE AS SELECT statement, the default import mode is specified by the default_load_mode parameter. If you specify an APPEND/DIRECT/NO_DIRECT hint in a data import operation, the import mode is specified by the hint.
Examples
In a data import scenario, set the import mode to
FULL_DIRECT_WRITE.obclient [test]> ALTER SYSTEM SET default_load_mode ='FULL_DIRECT_WRITE';In a data import scenario, set the import mode to
INC_DIRECT_WRITE.obclient [test]> ALTER SYSTEM SET default_load_mode ='INC_DIRECT_WRITE';
