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

Home -> Community -> Mailing Lists -> Oracle-L -> tkprof and parallel queries

tkprof and parallel queries

From: Gurelei <gurelei_at_yahoo.com>
Date: Wed, 19 Jun 2002 09:33:41 -0800
Message-ID: <F001.00481873.20020619093341@fatcity.com>


Hi. I didn't see this posted when I sent it first a few days ago, so here is my second attempt

I'm trying to use a tkprof against a few queries ran in parallel mode. I do alter session set sql_trace=true
to create a trace file in udump dir. Then I run tkprof trace-file output-file explain=/ sys=no.

What I get is a useless ( I think ) explain plan for a

parallel slave session instead of the one for a master

session. The plan looks something like this:

SELECT /*+ PIV_GB */ A1.C1 C0,A1.C4
C1,SYS_OP_MSR(SUM(A1.C5)) C2
FROM
(SELECT /*+ ORDERED NO_EXPAND USE_HASH(A3)
SWAP_JOIN_INPUTS(A3) */ A3.C0 C0,
A3.C1 C1,A3.C2 C2,A3.C3 C3,A2.C1 C4,A2.C2 C5 FROM ...

Is there a way for me to get the explain for a master session?

thank you

Gene



Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Gurelei
  INET: gurelei_at_yahoo.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 Wed Jun 19 2002 - 12:33:41 CDT

Original text of this message

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