If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Archivelog Vs Noarchivelog

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-16-07, 09:03
vanpersie vanpersie is offline
Registered User
 
Join Date: Nov 2007
Posts: 5
Red face Archivelog Vs Noarchivelog

Hello everyone,
I am trying to understand the negative impact of archivelog on a system. im trying to check if the offline logs generated by the archivelog consume much space on disk. if yes i want to know how much compared to datafiles etc!!!

Please can you get me an earliest reply ???thanks in anticipation.
Reply With Quote
  #2 (permalink)  
Old 11-16-07, 10:24
MCrowley MCrowley is offline
Wage drone 24601
 
Join Date: Jan 2003
Location: Massachusetts
Posts: 4,781
Run a few queries on v$loghist to see how often you are switching logs. Multiply by the size of your logs, and you will have your disk usage.

Now run a few questions by the executives of your company. Namely how important is this data/ Does it need to be backed up at all? if it was lost, how much impact would that have on the company?

Weigh the two, and you may have your answer.
Reply With Quote
  #3 (permalink)  
Old 11-19-07, 00:27
vanpersie vanpersie is offline
Registered User
 
Join Date: Nov 2007
Posts: 5
Dear sir thanks for your quick reply. I have another question.the archive log files,should i keep them forever?i mean can i purged them on a date basis according the hot backup im continously doing?Suppose my hot backup is as at 19 nov 07.can i purge the archive logs dated before19 nov 07 so as to solve the problem of disk space???

Thanks very much for your help.
Reply With Quote
  #4 (permalink)  
Old 11-19-07, 10:56
MCrowley MCrowley is offline
Wage drone 24601
 
Join Date: Jan 2003
Location: Massachusetts
Posts: 4,781
You should keep the archive logs as long as you keep your hot backups. Archive logs are required to recover from most hot backups. That depends on your users, and their requirements for recovering their data. Some law firms may require backups to be around for several years. Most systems may only require backups be kept for 30 days.
Reply With Quote
  #5 (permalink)  
Old 11-19-07, 10:56
prsahe prsahe is offline
Registered User
 
Join Date: Nov 2007
Location: Switzerland
Posts: 27
always use archivelog

In general it is a very good idea to run the database in archivelog mode. Should you ever need to recover data you will be happy to have archive logs. It will also allow you to roll back your database to any point in time in the past. It is good practice to backup the archive logs all along with the rest of your database. This way you will only have arch logs for 24 hours on the disk.

Best wishes: Peter
Reply With Quote
  #6 (permalink)  
Old 07-19-10, 09:32
pikhcom pikhcom is offline
Registered User
 
Join Date: Mar 2010
Posts: 14
prsahe > and if we disable or desactive it and we scedule a daily backup of the database or we really need this?
Reply With Quote
  #7 (permalink)  
Old 07-19-10, 10:51
anacedent anacedent is offline
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 6,151
> if we disable or desactive it and we scedule a daily backup of the database or we really need this?
yes
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Reply With Quote
  #8 (permalink)  
Old 07-19-10, 11:28
beilstwh beilstwh is offline
Lead Application Develope
 
Join Date: Jun 2004
Location: Liverpool, NY USA
Posts: 2,172
However if you are not running in archive log mode and only doing a cold (database down) backup each day and something happened, you will lose all data between the backup and the time of the failure.
__________________
Bill
You do not need a parachute to skydive. You only need a parachute to skydive twice.
Reply With Quote
  #9 (permalink)  
Old 07-25-10, 07:18
Ashique Raheem Ashique Raheem is offline
Registered User
 
Join Date: Jul 2010
Posts: 3
Why do you have this idea of purging your archivelog files? If you have any ideas to disabling archive log mode or trying to purge archive logs, my advice is that you should completely wipe out this idea.

The best thing you should do is if you are running in a low disk or if you are running in IO bottlenecks, try using a SAS diskcontroller which is external to your normal database environment or try storing the backups to a NAS server.

In case you have decided to use archive log backups inside your database server itself and you really think purging would help you administer your database, purge those logs that were made before your full database backup (On your own risk)

Regards
Ashique
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On