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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: direct distributed insert causes massive sorting on target, why?

Re: direct distributed insert causes massive sorting on target, why?

From: Jack Silvey <oracle-l_at_warehousedba.com>
Date: Sun, 29 Dec 2002 17:38:40 -0800
Message-ID: <F001.00523F33.20021229173840@fatcity.com>


Jonathan,

Let me setup a test in a test schema just to make sure I got it right and I will get the details. I was in a hurry to get the data over the first time and the sorts were killing us. (We swung a domain to a new server this weekend and it has been one of those "catnap every two hours and get paged" experiences and I haven't even had time to drink beer and watch the Cowboys get beat. Well, maybe some time.)

Here are some overview stats: 8.1.7.4, sun solaris, range partitioned tables on both sides. Make sure your target side is range partitioned and alter the default DOP to <1 on the target and see if that helps.

Jack

>
> I've had a little play around with this on 8.1.7.4.1,
> and I can't get the INSERT to run in parallel at all -
> all I get is a parallel select on the remote database.
>
> Are there any other details you had to set up
> to make this work ?
>
> What does the full execution plan look like -
> run it through Oracle's utlxplp.sql or something
> similar to get all the details - autotrace won't
> be good enough.
>
>
>
> Regards
>
> Jonathan Lewis
> http://www.jlcomp.demon.co.uk
>
> Coming soon a new one-day tutorial:
> Cost Based Optimisation
> (see http://www.jlcomp.demon.co.uk/tutorial.html )
>
> Next Seminar dates:
> (see http://www.jlcomp.demon.co.uk/seminar.html )
>
> ____England______January 21/23
>
>
> The Co-operative Oracle Users' FAQ
> http://www.jlcomp.demon.co.uk/faq/ind_faq.html
>
>
>
>
>
> -----Original Message-----
> To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
> Date: 26 December 2002 22:07
> target, why?
>
> >> >alter session enable parallel dml;
> >> >
> >> >insert /*+ append parallel(a,12) */ into tablea a
> >> >select /*+ full(b) parallel(b,12) */ * from tableb_at_dblnk b;
> >> >
> >> >However, unexpectedly, this causes two sets of parallel processes
> to
> >> be spawned on the target. One of these sets goes to work
> immediately,
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Jonathan Lewis
> INET: jonathan_at_jlcomp.demon.co.uk
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> 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).
>
>
>

Thanks,

Jack Silvey

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jack Silvey
  INET: oracle-l_at_warehousedba.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Sun Dec 29 2002 - 19:38:40 CST

Original text of this message

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