Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

parallel hint in merge statement

cs01kksOct 14 2017 — edited Oct 14 2017

Hi

I would like to check the correct usage of parallel hint in merge statement. I am on oracle 11g. I have enabled parallel dml. I would like to check which ones is the correct usage:

1. merge /*+parallel(tgt,16)*/ into tableA  tgt using (select /*+parallel (b,16) */ * from b) src

on(tgt.col1 = src.col1)

when matched....

2.

merge /*+parallel(tgt,16)*/ into tableA  tgt using (select * from b) src

on(tgt.col1 = src.col1)

when matched....

Is it sufficient that I use parallel hint in merge statement and not use in select statement?

please clarify

Thanks

kumar

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 11 2017
Added on Oct 14 2017
1 comment
2,944 views