Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Confirmation of trace data
I think it's probably time spent preempted, waiting either in the CPU =
run
queue or swapped out. If it were practically any OS other than Windows, =
it
would be relatively easy to get corroborating evidence from the OS about
involuntary context switch counts, average CPU run queue lengths, =
swap-out
counts, and such as that.
But on Windows, I'm not sure. I guess the search begins at www.sysinternals.com....
Cary Millsap
Hotsos Enterprises, Ltd.
http://www.hotsos.com
* Nullius in verba *
Upcoming events:
- Performance Diagnosis 101: 8/10 Boston, 9/14 San Francisco, 10/5 =
Charlotte
- SQL Optimization 101: 7/26 Washington DC, 8/16 Minneapolis, 9/20 =
Hartford
- Hotsos Symposium 2005: March 6-10 Dallas
- Visit www.hotsos.com for schedule details...
-----Original Message-----
From: oracle-l-bounce_at_freelists.org =
[mailto:oracle-l-bounce_at_freelists.org]
On Behalf Of Paul Baumgartel
Sent: Monday, August 02, 2004 4:11 PM
To: oracle-l_at_freelists.org
Subject: Confirmation of trace data
List--
Is there anything I'm missing here? The following SQL is taking 6 to 8 seconds of elapsed time to run. There are *no* wait events in the trace file (all trace data connected with this SQL appears below).=20 Total CPU for the operations is about .12 seconds, yet as you can see, the elapsed time for each fetch is 6 to 8 seconds.
This SQL is running during a load test; there are approximately 100 other sessions on the server (Windows 2K, dual-hyper-threaded CPU, about 2 GB of memory allotted to Oracle) and at times the CPUs are pegged at 100%. Oracle9iR2.
Given that I see no wait events, can I conclude that the elapsed time is due to waiting for CPU service? Is the fact that I'm joining to DBA_ROLE_PRIVS problematic? =20
TIA.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
PARSING IN CURSOR #6 len=3D142 dep=3D2 uid=3D828 oct=3D3 lid=3D828 =
tim=3D3027624861
hv=3D2231874444 ad=3D'6fd24b08'
SELECT t1.schema_name
from tsc_schemata t1, dba_role_privs t2 where t2.grantee =3D :b1 and t1.application_role =3Dt2.granted_role
=09
-- 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_at_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 -----------------------------------------------------------------Received on Mon Aug 02 2004 - 23:00:37 CDT
![]() |
![]() |