PARALLEL hint ignored in PL/SQL block?

Hi

When following DML is executed standalone

Insert into tableA select /*+ parallel(B) parallel(C) */ * from tableB@link B, 
tableC@link C where <some conditions>;

tableB and tableC are accessed in parallel and everything is fine.

However, if this is executed within PL/SQL block (or within stored procedure), 
tableB and tableC are not accessed in parallel. What may be the reason for this 
behavior? My goal is to improve performance of datamart batch load jobs.

Thanks,

Vladimir Barac
Database administrator | Alghanim Industries
P.O. Box 223, Safat 13003, Kuwait
Tel: +965 881 111  / ext. 2960



______________________________________________________________________
This e-mail message and any attachments to it are for the sole use of the 
intended recipients and may contain confidential and privileged information.  
This e-mail message and any attachments are the property of Yusuf A. Alghanim & 
Sons w.l.l. or any of its subsidiaries or affiliates (?Alghanim Industries?).  
Any unauthorized review, use, disclosure, or distribution of this e-mail 
message or its attachments is prohibited.  Any opinions expressed in this 
message are those of the author and do not necessarily reflect the opinion of 
Alghanim Industries.  If you are not an intended recipient, please notify the 
sender by reply e-mail and destroy all copies of the original message and any 
attachments.
______________________________________________________________________
--
http://www.freelists.org/webpage/oracle-l


Other related posts: