Solved

Oracle DB alert log cleanup

Posted on 2014-10-15
3
1,801 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

Technology Partners: 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

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

696 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