Solved

Oracle DB alert log cleanup

Posted on 2014-10-15
3
690 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
3 Comments
 
LVL 15

Accepted Solution

by:
Haris Djulic earned 250 total points
Comment Utility
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
Comment Utility
>>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
Comment Utility
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

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.

Join & Write a Comment

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
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…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now