Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> 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). 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?
TIA.
from tsc_schemata t1, dba_role_privs t2 where t2.grantee = :b1 and t1.application_role =t2.granted_role
-- 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 - 16:07:10 CDT
![]() |
![]() |