Solved

log gap

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

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
Performance issue with case statement in oracle 11G 7 80
Oracle DB monitor SW 21 60
sum of columns in a row in oracle 3 33
subtr returning incorrect value 8 32
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.  …
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.

830 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