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: sql trace - forward attribution

RE: sql trace - forward attribution

From: Anjo Kolk <anjo_at_oraperf.com>
Date: Mon, 05 Jan 2004 17:14:25 -0800
Message-ID: <F001.005DBBB6.20040105171425@fatcity.com>


They write all to the same trace file. So there should be different sid.serial# combinations.

-----Original Message-----
Boris Dali
Sent: Monday, January 05, 2004 9:49 PM
To: Multiple recipients of list ORACLE-L

Right, but the new session (that inherits the sql trace attribute) - wouldn't it produce a **separate** trace file? In my case there's only one trace file with sid.serial# clearly stated at the begining of the trace file and WAIT #0 scattered all over the trace. ..Or am I missing something?

> > > p3=0 WAIT #0: nam='SQL*Net message from client' ela=
> > 3322
> > > p1=1413697536 p2=1 p3=0
> > > ....
> > >
> > > I see this pattern of "message exchanges" before
> > > calling a stored code from the app server (OCI),
> > so
> > > using forward attribution it is a call to a
> stored
> > > code that it to blame correct?
> > > I can't of course eliminate a call to a stored
> > code
> > > but is there something that can be done to
> > minimize
> > > amount of these 'SQL*Net message...' lines?
> While
> > > the
> > > latency of these waits is low, these 3-5
> > > milliseconds
> > > get accumulated slowly, but surely.
> > >
> > > Also does cursor #0 has some special meaning in
> > > traces? I can't seem to create a test-case where
> I
> > > get
> > > cursor #0 emitted for me and yet tracing real applications I see
> > > it all over (like in the
> > excerpt
> > > above)
> > >
> > >
> > > I guess I have more than one follow-up question
> > :-(
> > >
> > > Thanks,
> > > Boris Dali.
> > >
> > > --- Cary Millsap <cary.millsap_at_hotsos.com>
> wrote:
> > >
> > > >....
> > > > >WAIT #31: nam='SQL*Net message to client'
> ela=
> > 1
> > > > p1=1413697536 p2=1 p3=0
>

=== message truncated ===



Post your free ad now! http://personals.yahoo.ca
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Boris Dali
  INET: boris_dali_at_yahoo.ca

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).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Anjo Kolk
  INET: anjo_at_oraperf.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 Mon Jan 05 2004 - 19:14:25 CST

Original text of this message

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