Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> SQLPLUS-like set time on for SQRs

SQLPLUS-like set time on for SQRs

From: Deepak Sharma <sharmakdeep_at_yahoo.com>
Date: Tue, 22 Aug 2000 13:30:08 -0700 (PDT)
Message-Id: <10597.115295@fatcity.com>


I am trying to determine how long individual SQL within a SQR takes. The closest I've found is using tkprof to get the Elapsed time, but the problem is for most of SQLs the elapsed time value is 0. In SQL*Plus after SET TIME ON, we are able to get the time before and after each SQL. Is there any way this could be done for a SESSION (be it SQR, PL/SQL or Pro*C) - something similar to turning Trace ON ?

Something magical l;ike:

Alter session set SQL_TIME = TRUE;


Oracle DBA,
Minneapolis, MN
USA

Do You Yahoo!?
Yahoo! Mail  Free email you can access from anywhere! http://mail.yahoo.com/ Received on Tue Aug 22 2000 - 15:30:08 CDT

Original text of this message

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