Re: Trace Files(*.trc)

From: pconnors on BIX <pconnors_at_BIX.com>
Date: 1995/04/08
Message-ID: <pconnors.797321423_at_BIX.com>#1/1


psingh_at_aadt.com (Prabhinder Singh) writes:

>Question: When we use the sql trace facility then corresponding to each
>sql statement executed thereafter the oracle generates a trace file (*.trc)
>in the directory specified in DUMP_DESTINATION variable of init ora.
>The default destination is oracle/rdbms/log. But when oracle creates this
>trace file it does not give read permission to the user. The permissions looks
>like
 

>-rw-rw---- 1 oracle dba 412 Mar 18 15:57 ora_13206.trc
 

>This shows that trace file created corresponding to any "xyz" user's query
>cannot be accessed by that user itself. This trace file can either be accessed by
>Oracle or any user having DBA group.
>My problem is that neither I can allow every user in the development team
>to login as an oracle nor I can add them to DBA group. So what should I do
>so that developers in my team can use these trace files .
 

>Your help would be appreciated in resolving this issue.
>
>--
>Prabhinder Singh SABRE Decision Technologies
>(817)963-1112 (O) P. O. Box 619616, MD 4479
> CP-IV: 3W5B-53 Dallas/Fort Worth Airport,
>(817)967-9763 (FAX) Texas 75261-9616
>e-mail: psingh_at_sdt.com

My site has installed a Unix daemon (just a shell script) that every five seconds resets the permissions in that directory so programmers can use their trace files.

Actually, it does more than that. It moves the trace file to a different directory, renames it to include the login of the user who created it, then it sets permissions. Programmers are encouraged to move the trace files to their own directories for analysis, as this temp. directory is swept dailt.

No promises, may be able to get source. -Pat Connors Received on Sat Apr 08 1995 - 00:00:00 CEST

Original text of this message