Return-Path: <oracle-l-bounce@freelists.org>
Received: from air189.startdedicated.com (root@localhost)
 by orafaq.com (8.11.6/8.11.6) with ESMTP id i164e1411218
 for <oracle-l@orafaq.com>; Thu, 5 Feb 2004 22:40:01 -0600
X-ClientAddr: 206.53.239.180
Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180])
 by air189.startdedicated.com (8.11.6/8.11.6) with ESMTP id i164dso11204
 for <oracle-l@orafaq.com>; Thu, 5 Feb 2004 22:39:56 -0600
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP
 id A1DDB395153; Thu,  5 Feb 2004 23:36:34 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Thu, 05 Feb 2004 23:35:31 -0500 (EST)
X-Original-To: oracle-l@freelists.org
Delivered-To: oracle-l@freelists.org
Received: from relay2.iflexsolutions.com (unknown [202.144.91.162])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 93A8E394EE6
 for <oracle-l@freelists.org>; Thu,  5 Feb 2004 23:35:26 -0500 (EST)
Received: from fmg-op.opal.i-flex.com (pppserver [192.168.50.2])
 by relay2.iflexsolutions.com (8.12.3/8.12.3) with ESMTP id i16ABPa2013605
 for <oracle-l@freelists.org>; Fri, 6 Feb 2004 10:11:25 GMT
Received: from fmg-op.opal.i-flex.com ([192.168.50.2]) by fmg-op.opal.i-flex.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 6 Feb 2004 10:15:27 +0530
Importance: normal
Priority: normal
Received: from fmgrt.rt.i-flex.com ([169.165.98.5]) by fmg-op.opal.i-flex.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 6 Feb 2004 10:15:27 +0530
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Subject: RE: Tkprof ouput -- Query on times waited/max waited/total waited
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
Date: Fri, 6 Feb 2004 10:15:22 +0530
Message-ID: <10898BE7CA96D611988B000802255AAF04F2C614@fmgrt>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Tkprof ouput -- Query on times waited/max waited/total waited
thread-index: AcPr9PtxmAF2khqWQ6+ML8xwEEZ1BQAdquuA
From: <k.sriramkumar@iflexsolutions.com>
To: <oracle-l@freelists.org>
X-OriginalArrivalTime: 06 Feb 2004 04:45:27.0600 (UTC) FILETIME=[0AA95B00:01C3EC6C]
X-archive-position: 933
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-To: oracle-l-bounce@freelists.org
X-original-sender: k.sriramkumar@iflexsolutions.com
Precedence: normal
Reply-To: oracle-l@freelists.org
X-list: oracle-l

Hi Cary,

Very Glad to see your reply. Thank you so much for enlightening us.

Best Regards

Sriram Kumar
=20

-----Original Message-----
From: Cary Millsap [mailto:cary.millsap@hotsos.com]=20
Sent: Thursday, February 05, 2004 7:57 PM
To: oracle-l@freelists.org
Subject: RE: Tkprof ouput -- Query on times waited/max waited/total =
waited

Responses in-line.


Cary Millsap
Hotsos Enterprises, Ltd.
http://www.hotsos.com
* Nullius in verba *

Upcoming events:
- Performance Diagnosis 101: 2/24 San Diego, 3/23 Park City, 4/6 Seattle
- SQL Optimization 101: 2/16 Dallas
- Hotsos Symposium 2004: March 7-10 Dallas
- Visit www.hotsos.com for schedule details...


-----Original Message-----
From: oracle-l-bounce@freelists.org
[mailto:oracle-l-bounce@freelists.org] On Behalf Of =
k.sriramkumar@iflexsolutions.com
Sent: Thursday, February 05, 2004 4:39 AM
To: oracle-l@freelists.org
Subject: Tkprof ouput -- Query on times waited/max waited/total waited
Importance: High

Hi Gurus,

	I was analyzing the output of 10046 event of a single session.
Myself and my fellow coleage differ in the interpretation of the output =
statistics.

Question 1
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D

The output Reads

Elapsed times include waiting on following events:
  Event waited on                             Times   Max. Wait  Total
Waited
  ----------------------------------------   Waited  ----------
------------
  SQL*Net message to client                       6        0.00
0.00
  SQL*Net message from client                     5      132.69
142.99


My Understanding of this output is=3D20

	Times waited -- Number of times this event has waited. Here the user =
might have entered 7 statements hence it says number of times waited as =
6

[Cary Millsap] Close. It means that there were six occasions when the db =
server was awaiting input from the client. It probably means that there =
were about six dbcalls, but even this can vary because of call bundling, =
pre-fetching, and so on.

	Max Waited -- Maximum duration of wait (Out of the 6 times it has =
waited)

[Cary Millsap] Yes. You can confirm this by checking the raw trace data.

	Total Waited -- Total Waiting time ( sigma of 6 wait times )

[Cary Millsap] Yes. Again, this is easy to confirm by examining the =
input data to tkprof.

Pls confirm whether my understanding is correct.


Question 2
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D

Say I turn on the SQL tracing at 12.00 and the session is idle till 1.00 =
and a single SQL statement is executed at 1.00.

Now if I analyze the ouput.

My undestanding is that, this 1 hour would be accounted in the  "SQL*Net =
message from client" . Is my understanding correct??

[Cary Millsap] Yes. This is what I call in Jeff's and my book =
"collection error." You probably don't need to optimize that hour, so =
you shouldn't collect timing data for that hour.


Best Regards

Sriram Kumar











DISCLAIMER:
This message contains privileged and confidential information and is =3D =
intended only for the individual named.If you are not the intended =3D =
recipient you should not disseminate,distribute,store,print, copy or =3D =
deliver this message.Please notify the sender immediately by e-mail if =
=3D you have received this e-mail by mistake and delete this e-mail from =
=3D your system.E-mail transmission cannot be guaranteed to be secure or =
=3D error-free as information could be =3D =
intercepted,corrupted,lost,destroyed,arrive late or incomplete or =3D =
contain viruses.The sender therefore does not accept liability for any =
=3D errors or omissions in the contents of this message which arise as a =
=3D result of e-mail transmission. If verification is required please =
=3D request a hard-copy version.
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@freelists.org put =
'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@freelists.org put =
'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------


DISCLAIMER:
This message contains privileged and confidential information and is =
intended only for the individual named.If you are not the intended =
recipient you should not disseminate,distribute,store,print, copy or =
deliver this message.Please notify the sender immediately by e-mail if =
you have received this e-mail by mistake and delete this e-mail from =
your system.E-mail transmission cannot be guaranteed to be secure or =
error-free as information could be =
intercepted,corrupted,lost,destroyed,arrive late or incomplete or =
contain viruses.The sender therefore does not accept liability for any =
errors or omissions in the contents of this message which arise as a =
result of e-mail transmission. If verification is required please =
request a hard-copy version.
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

