Solved

log gap

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


How we will find that  ?
0
Comment
Question by:tonydba
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 76

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

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.

Join & Write a Comment

Suggested Solutions

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Via a live example, show how to take different types of Oracle backups using RMAN.
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

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now