Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2005
    Posts
    67

    Unanswered: Script to detect GAP in Data Guard

    Hi all,

    I've just set up an Oracle Data Guard between two windows 2003 servers using Oracle 10.2.0.3
    I'm using Maximun performance (using archive logs) to keep the standby database synchronized.

    Now I'd like to detect when there is a gap between primary and standby databases.

    Do you have any script to do that ?

    When I try to connect from primary to standby and execute it I got:
    SELECT MAX(SEQUENCE#) FROM V$ARCHIVED_LOG@ORCL10g_STDBY;
    ORA-01033: ORACLE initialization or shutdown in progress

    How do you check whether both instances are synchronized ?
    Data Guard Broker ?

    Thanks

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    http://blogs.oracle.com/AlejandroVar...observerst.pdf

    GOOGLE is your friend but only when you actually use it!
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  3. #3
    Join Date
    Sep 2005
    Posts
    67
    Hi, thanks for your answer.
    But I am looking for something that only tells me when there is a gap, I don't want that the failover is automatically performed.

    Thanks a lot,

  4. #4
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    SELECT to_char(CURRENT_SCN) FROM V$DATABASE;
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •