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: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Sat, 28 Dec 2002 08:43:49 -0800
Message-ID: <F001.00523B37.20021228084349@fatcity.com>

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).
Received on Sat Dec 28 2002 - 10:43:49 CST

Original text of this message

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