Solved

Oracle DB alert log cleanup

Posted on 2014-10-15
3
1,447 Views
Last Modified: 2014-10-15
Dear all,
I already managed to just move the listener.log away or rename it, after stopping the service. That worked fine.
Now I have a question about Oracle 11g Alert Logfiles, located in the listener\alert subdirectory.
They are filling up the diskspace with log_{nnn}.xml, one each day, size 10mb each.

Is it safe to remove the old files from the directory, or do I maybe have to use any oracle tools for that?
Thanks for your answer!
Oliver
0
Comment
Question by:OliG
[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 Comments
 
LVL 15

Accepted Solution

by:
Haris Djulic earned 250 total points
ID: 40381664
As for the Oracle part you can delete those alert logs if you do not need them...

Even if you delete current alert log file oracle will create the one.--
0
 
LVL 16

Assisted Solution

by:Wasim Akram Shaik
Wasim Akram Shaik earned 250 total points
ID: 40381739
>>Even if you delete current alert log file oracle will create the one.--

True, oracle will create one though, however in case of production system, if you are in need of some error or some trace or some information of some thing which may have had happened some time back, then alert log will have that information..

have some piece of backup for some extent of time and delete the rest ..
0
 

Author Comment

by:OliG
ID: 40381758
Ok, will zip backup the files then to a different location and delete older than 7 days on the productive system.
thanks a lot.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can i Import Access Table Into Oracle Using Toad 36 279
clob to char in oracle 3 96
Create Index on a Materialized View 5 47
Oracle DBLINKS From 11g to 8i 3 67
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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…

730 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