Solved

Disabling TRC files, howto?

Posted on 2009-07-07
5
2,367 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

726 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