473,320 Members | 2,117 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,320 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 7013
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.