Automatic tuning = false
 Adaptive PQ = false

drop table j1; 
  drop table j2; 
  create table j1 ( c1 number  ); 
  create table j2 ( c1 number  ); 

  insert into j1 values (1); 
  insert into j1 values (1); 
  insert into j1 values (2 ); 


  insert into j2 values (3); 
  insert into j2 values (3); 
  commit; 

    
  select 
     a.c1,a.s1,b.c1,b.s1 
  from 
  (select --+  parallel(j1,10)  
     c1,count(*)  s1 
   from j1 
   group by c1) a, 
  (select --+  parallel(j2,10)  
     c1,count(*)  s1 
   from j2 
   group by c1) b 
  where a.c1  = b.c1 (+); 

  Here is the result:
  C1 S1 C1 S1
  1 2 [NULL] 2
  2 1 [NULL] 1
  Then remove the parallel hint:
  You get this:
  C1 S1 C1 S1
  1 2 [NULL] [NULL]
  2 1 [NULL] [NULL]
  =================
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Khedr, Waleed
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to