473,399 Members | 3,038 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

SQL_TRACE Output Location

Hi,

I'm currently trying to run a SQL trace for a SQL*PLUS session and run
the resulting output file through tkprof.

Using the command -

ALTER SESSION SET SQL_TRACE = TRUE;

I get a trace file on the UNIX server in the udump directory. The
problem is that the permissions on this file are 750 for the oracle
user (dba group). As I do not have access to the oracle user or a
user which is part of the dba group I cannot view the file.

Can these files be sent to another location (such as the client PC's
C: drive) or to the same location with different permissions without
changing Oracle's database parameters (such as _TRACE_FILES_PUBLIC or
USER_DUMP_DEST)?

Thanks,

Alan.
Jul 19 '05 #1
2 7017
al********@yahoo.co.uk (Alan Cobban) wrote in message news:<a2**************************@posting.google. com>...
Hi,

I'm currently trying to run a SQL trace for a SQL*PLUS session and run
the resulting output file through tkprof.

Using the command -

ALTER SESSION SET SQL_TRACE = TRUE;

I get a trace file on the UNIX server in the udump directory. The
problem is that the permissions on this file are 750 for the oracle
user (dba group). As I do not have access to the oracle user or a
user which is part of the dba group I cannot view the file.

Can these files be sent to another location (such as the client PC's
C: drive) or to the same location with different permissions without
changing Oracle's database parameters (such as _TRACE_FILES_PUBLIC or
USER_DUMP_DEST)?

Thanks,

Alan.

Obviously the database server won't have access to your PC. As you
don't want to change the _trace_files_public parameter, I guess you
are stuck.

Sybrand Bakker
Senior Oracle DBA
Jul 19 '05 #2
al********@yahoo.co.uk (Alan Cobban) wrote in message news:<a2**************************@posting.google. com>...
Hi,

I'm currently trying to run a SQL trace for a SQL*PLUS session and run
the resulting output file through tkprof.

Using the command -

ALTER SESSION SET SQL_TRACE = TRUE;

I get a trace file on the UNIX server in the udump directory. The
problem is that the permissions on this file are 750 for the oracle
user (dba group). As I do not have access to the oracle user or a
user which is part of the dba group I cannot view the file.

Can these files be sent to another location (such as the client PC's
C: drive) or to the same location with different permissions without
changing Oracle's database parameters (such as _TRACE_FILES_PUBLIC or
USER_DUMP_DEST)?


Tom Kyte has a solution on his web site

http://asktom.oracle.com/pls/ask/f?p...:7115831027951
--
Martin Burbridge

pobox 002 email is full of spam and never read
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: chotiwallah | last post by:
there has been a thread about this topic a couple of days ago, but nothing was really solved there ...
8
by: Gactimus | last post by:
I made the program below. It outputs the smallest number in the array. What I would like to know is how do I output the array location. I am at a loss. For example, since the smallest number in...
6
by: Ben | last post by:
Hi We have a Dataset that has been populated from the output parameter of a Stored Procedure (@Output). I understand that I can extract a single item when the dataset is populated by a table...
3
by: super.raddish | last post by:
Greetings, I am relatively new to, what I would call, advanced XSLT/XPath and I am after some advice from those in the know. I am attempting to figure out a mechanism within XSLT to compare the...
1
by: Himself | last post by:
I apologize if this has been answered before, I couldn't find it. I'm trying to transform XML to XML and specify a schema in the output XML. I am transforming nodes to different local names...
15
by: jools | last post by:
I'm having trouble modifying some code written by someone else. The code is very dense and obscure but does work fine. However I need to insert a block of my own and I've hit what I assume is a...
1
by: dwaterpolo | last post by:
Hi Everyone, I am trying to read two text files swY40p10t3ctw45.col.txt and solution.txt and compare them, the first text file has a bunch of values listed like: y y y y y y y
2
by: Alan Cobban | last post by:
Hi, I'm currently trying to run a SQL trace for a SQL*PLUS session and run the resulting output file through tkprof. Using the command - ALTER SESSION SET SQL_TRACE = TRUE; I get a trace...
1
by: billelev | last post by:
Here is some code that I have adapted slightly. It allows a report to be printed to a specific location. It works by calling SaveReportAsPDF and specifying the access report name, and the root...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.