| DML Statement | Issued on Parent | Issued on Child | Self-Referential |
|---|---|---|---|
|
INSERT |
(Not applicable) |
Not parallelized |
Not parallelized |
|
MERGE |
(Not applicable) |
Not parallelized |
Not parallelized |
|
UPDATE No Action |
Supported |
Supported |
Not parallelized |
|
DELETE No Action |
Supported |
Supported |
Not parallelized |
|
DELETE Cascade |
Not parallelized |
(Not applicable) |
Not parallelized |
Delete on tables having a foreign key with delete cascade is not parallelized because parallel execution servers will try to delete rows from multiple partitions (parent and child tables).
Self-Referential IntegrityDML on tables with self-referential integrity constraints is not parallelized if the referenced keys (primary keys) are involved. For DML on all other columns, parallelism is possible.
Deferrable Integrity ConstraintsIf any deferrable constraints apply to the table being operated on, the DML operation will not be parallelized.
A DML operation will not be parallelized if the affected tables contain enabled triggers that may get fired as a result of the statement. This implies that DML statements on tables that are being replicated will not be parallelized.
Relevant triggers must be disabled in order to parallelize DML on the table. Note that, if you enable or disable triggers, the dependent shared cursors are invalidated.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/16158219/viewspace-580628/ ,如需转载,请注明出处,否则将追究法律责任。