Solved

log gap

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

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.  …
Via a live example, show how to take different types of Oracle backups using RMAN.
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.
Suggested Courses

632 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