Home » RDBMS Server » Server Administration » archivelog/nonarchivelog
archivelog/nonarchivelog [message #58008] Thu, 24 July 2003 13:31 Go to next message
Raj
Messages: 411
Registered: November 1998
Senior Member
hi
i had a confusion
In nonarchivelog mode also the commited data with changes will write to the disk when a checkpoint ocurs.if it is archivelog mode it will archived when a logswitch occurs.when
a logswitch occurs there will be checkpoint so the modified data will be written to disk.
when a logfile will be overwritten.If a check point occurs the the changes will be written to datafiles.
pls hlp
Re: archivelog/nonarchivelog [message #58024 is a reply to message #58008] Fri, 25 July 2003 21:21 Go to previous messageGo to next message
Shiv
Messages: 20
Registered: May 2002
Junior Member
ARCHIVE:

Lets take 2 logfiles ,
logfile 1,logfile 2:
IN archived mode irrespective of commit or rollback all the transactions are archived when the log switch occurs.

No ARCHIVE :
This does not happen in this mode , (This is the major difference).
Re: archivelog/nonarchivelog [message #58026 is a reply to message #58024] Sat, 26 July 2003 04:09 Go to previous messageGo to next message
Raj Mathur
Messages: 11
Registered: April 2002
Junior Member
hi i am asking about checkpointing.IF the checkpoint occurs the changes will be permanaently stored in datafiles.when a logswitch occurs automatcially there
will be a checkpoint.so it means it will be saved
permanently to disk.i had confusion How much archivelogs will helpful compared to non archivelog.

WH
Re: archivelog/nonarchivelog [message #58056 is a reply to message #58026] Tue, 29 July 2003 03:05 Go to previous message
Dhiren
Messages: 43
Registered: July 2002
Member
Hi

There are two modes of DATABASE

1) NOARCHIVEMODE

You are right that whenever CKPT occurs there will be auto commit so all the data will be written to datafiles.Main Thing is that if MEDIA RECOVERY is required for database then this changes will no longer usefull,u will get the DATABASE IS STATE till LAST BACKUP,this is the not case in ARCHIVE MODE.

2) ARCHIVEMOD

The database which is in archive mode will contains the all the changes that are due to CKPT,COMMIT,.....etc in archived log files so we will get the database in consistent state even is database crash.so whenever CKPT process occurs oracle will IMIPLICITY writes to datafile and redolog files from database buffer cache and log buffer cache respectively by DBWn and LGWR respectively.
Previous Topic: SQL Plus error
Next Topic: Stand by database STATUS::::::::?
Goto Forum:
  


Current Time: Fri Sep 20 06:59:14 CDT 2024