Return-Path: <ml-errors@fatcity.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id hACMafG15601
 for <oracle-l@orafaq.net>; Wed, 12 Nov 2003 16:36:41 -0600
X-ClientAddr: 66.27.56.213
Received: from www2.fatcity.com (rrcs-west-66-27-56-213.biz.rr.com [66.27.56.213])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id hACMafc15596
 for <oracle-l@orafaq.net>; Wed, 12 Nov 2003 16:36:41 -0600
Received: (from root@localhost)
 by www2.fatcity.com (8.11.6/8.11.6) id hACJgFh16594
 for oracle-l@orafaq.net; Wed, 12 Nov 2003 11:42:15 -0800
Received: by fatcity.com (05-Jun-2003/v1.0g-b73/bab) via fatcity.com id 005D6725; Wed, 12 Nov 2003 11:44:25 -0800
Message-ID: <F001.005D6725.20031112114425@fatcity.com>
Date: Wed, 12 Nov 2003 11:44:25 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: Mladen Gogala <mladen@wangtrading.com>
Sender: ml-errors@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: Mladen Gogala <mladen@wangtrading.com>
Subject: Re: Help Interpreting TKProf
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 73; ListGuru (c) 1996-2003 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Daniel, it's seconds, not centiseconds. The tkprof writes things down
in seconds. If it's a 9i trace, then the times within trc files are in 
microseconds. In trc file produced by 8i, it's centiseconds. By some magic,
tkprof knows the difference and usually gets the right times.

On 11/12/2003 01:49:34 PM, Daniel Fink wrote:
> Barb,
> 
> This is a great example of where reading the trace file will tell you
> what you need to know. Is the 10 centiseconds of time in 8 1.25
> centisecond events or in 1 10 centisecond event and 7 .1 centisecond
> events?  The location (parse/execute/fetch/post tx) are also important.
> 
> Daniel
> 
> Barbara Baker wrote:
> 
> > Hi.
> > I'm running tkprof on my PC with a version 9i client.
> > The trace file was generated on a Solars version
> > 8.1.7.4 database.  (I'm using tkprof on 9i to get wait
> > statistics.)  The trace is 10046 level 12
> >
> > I assume the time waited is in addition to the elapsed
> > time for the call -- correct?
> >
> > Since the database itself is 8i, does that mean that
> > the wait stats are in centiseconds?  I want to know
> > what the sql*net message from client wait time of
> > 10.73 represents:
> >
> > Elapsed times include waiting on following events:
> >   Event waited on        Times   Max. Wait Total
> > Waited
> >   --------------------   Waited  ----------  ---------
> >   SQL*Net message to client   8       0.00       0.00
> >   SQL*Net message from client 8      10.71      10.73
> >
> > Here's all the code:
> >
> > select /*ClassSQL*/ distinct co.class,cl.claname
> > from
> >  classorder co,class cl  where co.paper='DNA' and
> > co.page='EM'   and co.class=
> >   cl.class and co.paper=cl.paper and cl.clatype='0'
> > order by 1
> >
> > call     count       cpu    elapsed       disk
> > query    current        rows
> > ------- ------  -------- ---------- ----------
> > ---------- ----------  ----------
> > Parse        1      0.01       0.01          0
> >  0          0           0
> > Execute      1      0.00       0.00          0
> >  0          0           0
> > Fetch        8      0.01       0.01          0
> > 169          0          82
> > ------- ------  -------- ---------- ----------
> > ---------- ----------  ----------
> > total       10      0.02       0.02          0
> > 169          0          82
> >
> > Misses in library cache during parse: 1
> > Optimizer goal: CHOOSE
> > Parsing user id: 586  (SYSADMIN)
> >
> > Rows     Row Source Operation
> > -------
> > ---------------------------------------------------
> >      82  SORT UNIQUE
> >      82   NESTED LOOPS
> >      83    INDEX RANGE SCAN (object id 395118)
> >      82    TABLE ACCESS BY INDEX ROWID CLASS
> >     164     INDEX UNIQUE SCAN (object id 395113)
> >
> > Rows     Execution Plan
> > -------
> > ---------------------------------------------------
> >       0  SELECT STATEMENT   GOAL: CHOOSE
> >      82   SORT (UNIQUE)
> >      82    NESTED LOOPS
> >      83     INDEX   GOAL: ANALYZED (RANGE SCAN) OF
> > 'I_CLO1' (NON-UNIQUE)
> >
> >      82     TABLE ACCESS   GOAL: ANALYZED (BY INDEX
> > ROWID) OF 'CLASS'
> >     164      INDEX   GOAL: ANALYZED (UNIQUE SCAN) OF
> > 'I_CLA1' (UNIQUE)
> >
> > Thanks for any help.
> >
> > Barb
> >
> > __________________________________
> > Do you Yahoo!?
> > Protect your identity with Yahoo! Mail AddressGuard
> > http://antispam.yahoo.com/whatsnewfree
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.net
> > --
> > Author: Barbara Baker
> >   INET: barbarabbaker@yahoo.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@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: Daniel Fink
>   INET: Daniel.Fink@Sun.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@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).
> 

Mladen Gogala
Oracle DBA



Note:
This message is for the named person's use only.  It may contain confidential, proprietary or legally privileged information.  No confidentiality or privilege is waived or lost by any mistransmission.  If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender.  You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks.
Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Mladen Gogala
  INET: mladen@wangtrading.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@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).

