I am not sure if using the parallel hint in such a way as below would be helpful in parallelizing the query run. Can a parallel hint be used for two different tables in a merge statement like mentioned below?
MERGE INTO /*+ parallel (TABLE_A,8) */ TABLE_A A
USING( SELECT /*+ parallel (TABLE_B,8) */
col1,
col2
FROM TABLE_B
) B
ON A.col1 = B.col1
WHEN MATCHED THEN
UPATE ....
WHEN NOT MATCHED THEN
INSERT ...
;
/
I am using Oracle 10g.
Thanks
.