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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Timed statistics and SQL_TRACE for already running session

Re: Timed statistics and SQL_TRACE for already running session

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Wed, 08 Aug 2001 10:11:20 -0700
Message-ID: <F001.003648EA.20010808095625@fatcity.com>

Which version of Oracle.

>From 8.1.6 onwards, dbms_system contains a call similar to set_sql_trace_in_session which is name something like:
set_boll_param_in_session. Describe
dbms_system to check the proper
nmame and parms.

Jonathan Lewis

Seminars on getting the best out of Oracle Last few places available for Sept 10th/11th See http://www.jlcomp.demon.co.uk/seminar.html

-----Original Message-----
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> Date: 08 August 2001 16:29

|
|I used the following syntax/package to run a trace on a user's
already
|running
|session.
|
|EXECUTE dbms_system.set_sql_trace_in_session(8,12,TRUE);
|
|I then ran tkprof on the resulting trace file. It all worked fairly
well
|but
|I didn't get any times on any of the statements that executed.
|
|Is there a way to use timed_statistics with this package?
|Or must I turn on timed statistics for the entire database?
|

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jonathan Lewis
  INET: jonathan_at_jlcomp.demon.co.uk

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_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).
Received on Wed Aug 08 2001 - 12:11:20 CDT

Original text of this message

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