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
Solved

Oracle DB alert log cleanup

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

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.

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…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

829 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