Can I compress archive logs to reduce file system space?

Posted on 2008-11-03
Medium Priority
Last Modified: 2013-12-19
Can I compress archive logs to reduce file system space? It is reaching almost full capacity and moving files out the the mount point is not enough to keep it under control.
Question by:la_colibri
LVL 35

Expert Comment

ID: 22870387
There is no harm in compressing them.

However if you use RMAN for backup, it will not be able to find tha archive logs if they are compressed.
LVL 15

Expert Comment

by:Devinder Singh Virdi
ID: 22872051
Take Hot/Cold backups of every tablespace, then delete your unwanted archive log files to free some space
LVL 10

Accepted Solution

dbmullen earned 2000 total points
ID: 22873303
yes, once oracle is done writing the file, it's done with it unless you need them for recovery.
so, if you wanted to cause more work, you could even rename them...  i wouldn't but it's just to make a point.

really, you should ask, why is my database creating so many "archive-logs"?
are there really that many insert/update/deletes being done?
if yes....  consider several options
         1)  write them off the "mount-point" faster  (we do it every 15 minutes)
         2)  make the "mount-point" bigger (our standard is 50gb)
         3)   compress like you said
         4)   make the redo-log-files bigger  (it will switch less often)

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
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, 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 at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
Suggested Courses
Course of the Month15 days, 14 hours left to enroll

850 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