Enabling by:
Insert /*+ APPEND */ into xxx
Characteristics:
1. Data is written to data file directly, bypassing buffer cache.
2. Inserts data beyond the High Water Mark.
3. Referential integrity is ignored.
4. Transaction atomicity is not guaranteed during parallel direct-load insert using SQL*Loader.
5. When you are inserting in parallel DML mode, direct-path INSERT is the default. There's no need to add "append" hint into Insert statement.
Enable parallel DML by:
ALTER SESSION { ENABLE | FORCE } PARALLEL DML;
How it works:
Parallel direct-load into partitioned table -- Each parallel execution server is assigned one or more partitions, with no more than one process working on a single partition.
Parallel direct-load into non-partitioned table -- Each parallel execution server allocates a new temporary segment and inserts data into that temporary segment. When a COMMIT runs, the parallel execution coordinator merges the new temporary segments into the primary table segment, where it is visible to users.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/638844/viewspace-772744/
,如需转载,请注明出处,否则将追究法律责任。