Solved

Disabling TRC files, howto?

Posted on 2009-07-07
5
2,243 Views
Last Modified: 2013-12-19
I need to disable generation of trc files. They are chewing up most of my disk space and I'm really not even sure what they are for. There are lots of posting on this, but none really solve my problem.

In posting http://www.experts-exchange.com/Database/Oracle/10.x/Q_22712202.html I found the advice: "Comment sql_trace in your init.ora file and restart the db." That worked for the poster who is running my same version (10g).

However, I don't have "sql_trace" in my init.ora file. Also, I have two init.ora files in: /oracle/dbs/init.ora and /oracle/srvm/admin/init.ora. Both have the similar dates and I don't know which is the 'live' one.

Help appreciated
0
Comment
Question by:jmarkfoley
  • 3
  • 2
5 Comments
 
LVL 7

Accepted Solution

by:
grzessio earned 500 total points
ID: 24792976
try this one:
alter system set SQL_trace = false scope = both;
0
 
LVL 7

Expert Comment

by:grzessio
ID: 24792979
then restart db
0
 
LVL 1

Author Comment

by:jmarkfoley
ID: 24794288
coupla questions before I do this (can't take the db down immediately):

Do I need a comma between "false" and "scope"?

How can I query "system" to see how tracing is set?
0
 
LVL 7

Expert Comment

by:grzessio
ID: 24795066

1) no comma between scope and false
2) to chceck value of sql_trace check:
select name, value from v$parameter where lower(name) like 'sql_trace';
3) after shutting down database try to also add to both init.ora files sql_trace=false
0
 
LVL 1

Author Comment

by:jmarkfoley
ID: 24893131
Nope, still creating TRC files in /oracle/admin/orcl/bdump/. When I list the v$parameter value per your instructions it says "FALSE".

Suggestions?
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Query 34 115
su - oracle could not open session 6 95
MULTIPLE DATE QUERY 15 91
Extract Currency data from a string and put them in a new field 3 42
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question