Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Disabling TRC files, howto?

Posted on 2009-07-07
5
Medium Priority
?
2,519 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Via a live example, show how to take different types of Oracle backups using RMAN.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

610 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