Solved

log gap

Posted on 2014-04-07
3
462 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 500 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Workhours Count beetween Workhours 3 50
Checking for column width 8 49
Fill Date time Field 12 45
Oracle perfomance issue. 4 49
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…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

739 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