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: What userid to run dbms_system.set_sql_trace_in_session from?

RE: What userid to run dbms_system.set_sql_trace_in_session from?

From: Steve Adams <steve.adams_at_ixora.com.au>
Date: Sat, 12 Aug 2000 08:38:18 +1000
Message-Id: <10586.114430@fatcity.com>


Hi Cherie,

This is explained in the Q&A part of my web site (now reorganized by topic areas rather than by date).
Have a look in the SQL Optimization section towards the end.

Regards,
Steve Adams

http://www.ixora.com.au/
http://www.oreilly.com/catalog/orinternals/
http://www.christianity.net.au/


-----Original Message-----
From: Cherie_Machler_at_gelco.com [mailto:Cherie_Machler_at_gelco.com] Sent: Saturday, 12 August 2000 8:09
To: Multiple recipients of list ORACLE-L Subject: What userid to run dbms_system.set_sql_trace_in_session from?

I have been able to successfully run
dbms_system.set_sql_trace_in_session from sqlplus prompt as system user. I put in the correct SID and serial number and
TRUE
and everything seems fine. Response is that it appears to have run correctly.
Then I run it again with FALSE to turn off trace. Response is that everything
seems
to be fine. But when I go to the udump directory, no trace file has been
generated.

I know it is the correct udump directory because if I turn on trace for my
session and
run a query and then turn off trace, a trace file is correctly generated in the
same
udump directory.

Why might I not be getting a trace file generated on the session that is running?
Do I have to log in as the user that was running the job in order to run dbms_system.
I was running from SYSTEM.

Or is it something else?

Thanks,

Cherie

--
Author:
  INET: Cherie_Machler_at_gelco.com

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 Fri Aug 11 2000 - 17:38:18 CDT

Original text of this message

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