OracleLoader with direct-path INSERTs
Posted: Wed 14 May 2014 10:05
When performing table load using array binding, it would be nice to opt-in for direct-path INSERTs. It means:
Another option can control bypassing redo generation by altering the table (and probably its indexes) to NOLOGGING mode beforehand and then reverting it back to the original mode afterwards.
- the APPEND_VALUES hint will be placed in the generated INSERT statements (starting with Oracle 11g Release 2; for older versions the APPEND hint might be used with INSERT … SELECT FROM DUAL - not sure it's possible with array binding)
- triggers and DRI constraints will be disabled during the load process and re-enabled afterwards
Another option can control bypassing redo generation by altering the table (and probably its indexes) to NOLOGGING mode beforehand and then reverting it back to the original mode afterwards.