?
Solved

log gap

Posted on 2014-04-07
3
Medium Priority
?
473 Views
Last Modified: 2014-04-08
What is actually log gap ?


How we will find that  ?
0
Comment
Question by:tonydba
[X]
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
3 Comments
 
LVL 16

Accepted Solution

by:
Wasim Akram Shaik earned 2000 total points
ID: 39983270
--->What is actually log gap ?


Archive gaps are simply a range of archived redo logs that were created at a time when the standby database was not available to receive them as they were being generated by the primary database. These archive gaps occur most often during network unavailability between the primary and standby database. During network outages like this, the standby database fails to receive any redo data from the primary database. When the network failure has been resolved, automatic transmission of redo data from the primary to the standby database is resumed. The missing archived redo logs signify the gap.

--->How we will find that  ?

select * from v$archive_gap;

References from

http://www.idevelopment.info/data/Oracle/DBA_tips/Data_Guard/DG_5.shtml

to Fix archive log gap check this

http://www.dba-oracle.com/t_oracledataguard_156_physical_standby_archive_gap.htm

http://www.dba-oracle.com/t_detect_redo_log_gaps.htm
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39983848
It doesn't have to necessarily be related to a standby database and dataguard.

If can also just be a missing archived redo log for a normal database.

In a nutshell:
to perform a recovery you need EVERY archived redo log in sequence.  If you are missing one, there is a gap.  You cannot recover a database past the point of the mising archived redo log.
0
 

Author Closing Comment

by:tonydba
ID: 39986493
Yes log gap understood..
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

718 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