Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Another one in 8.1.7.2

Another one in 8.1.7.2

From: Khedr, Waleed <Waleed.Khedr_at_FMR.COM>
Date: Mon, 29 Jul 2002 07:38:35 -0800
Message-ID: <F001.004A49E1.20020729073835@fatcity.com>


 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: Waleed.Khedr_at_FMR.COM

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: ListGuru_at_fatcity.com (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).
Received on Mon Jul 29 2002 - 10:38:35 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US