Solved

difference

Posted on 2014-11-24
3
91 Views
Last Modified: 2014-12-03
What is the major difference between redolog and archivelog.
0
Comment
Question by:jeevan mathew
3 Comments
 
LVL 74

Accepted Solution

by:
sdstuber earned 500 total points
ID: 40463068
simple definition: archivelogs are redologs that have been saved.

more verbose:
If your database is not running in archive log mode, then you will not generate archive logs, but you will still have online redo logs.

If your databse is running in archive log mode and you fill your redo logs, then, when your database needs to reuse one of the online logs it will copy the old redo file to an archive log file and then reuse the online file for new transaction records.


to further elaborate, I recommend the Concepts manual

https://docs.oracle.com/cd/E11882_01/server.112/e40540/physical.htm#CNCPT11302
0
 
LVL 23

Expert Comment

by:David
ID: 40463089
Oracle uses a two-stage write-to-database.  Changed rows are written into a redo log, and periodically a log segment is written to the physical storage (datafile).  Assuming the database is running in archive log mode, the saved redo log is copied to an archive log, after which the redo log may be re-used.  

Copies of an archive log may be written concurrently to one or more directories, on multiple hosts, for redundancy.
0
 

Author Closing Comment

by:jeevan mathew
ID: 40478926
Got it the difference.
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

Suggested Solutions

Title # Comments Views Activity
error in my cursor 5 41
Oracle 12c Default Isolation Level 17 42
Help with Oracle IF statment 5 27
Oracle Nested table uses ? 2 36
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
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 shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

821 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