Reputation: 8146
As you can see at this link sometimes the PARALLEL HINT
doesn't work in forking parallel execution of an update query.
For select I must even force a FULL TABLE SCAN
or a FAST FULL INDEX SCAN
. How does it work for DML statement?
I used the directive alter session enable parallel dml;
If you look at the IO of the linked topic. Just one thread is making read / changes.
Upvotes: 0
Views: 526
Reputation: 146239
Oracle only uses parallel execution for UPDATE or DELETE statements when they affect multiple partitions. Both variants of your query seem to include the partition key in their sub-queries: are you certain that the values in the temporary tables will cover several partitions?
Upvotes: 1