Standby-dataguard

Hi
people talk about the standby database and the dataguard.what is the actual difference between the standby database and the datagaurd.Does both of them indicate the same or there is any difference between them in their name and in their functionality.
Regards
Aram

When people talk about a standby database they are referring to a "physical" or "logical" replica of the primary database. A physical standby database is one that is an exact match to the primary. Oracle "redo" logs are copied and applied to the standby so they are identical block for block. A logical standby database is not identical structurally. It could have the same data but the databases themselves could be different (different OS, different Oracle versions,etc)
Now when people talk about Data Guard, they are talking about an Oracle product to create, administer, and monitor a physical standby database.
Standby databases are a solution. Data Guard is software to support it, but you don't necessarily have to use Data Guard to have a standby database.
Look here for more details:
http://www.oracle.com/technology/deploy/availability/htdocs/DataGuardOverview.html

Similar Messages

  • Logical Standby Dataguard experience. Robust? Reliable?

    DBAs,
    Need sharing from all of your experience using logical standby Dataguard in 10gR2 or 11gR1. Do you feel that this logical standby technology requires high operational overhead (e.g. lots of problems, bugs, not so robust, error prone, etc). Transaction load is rather high for my environment.
    I only use physical standby so far.
    Thanks in advance

    Hi - first you need to know the purpose of requiring a logical standby.
    If it's for active standby - you might consider active dataguard in 11g.
    Also you have to go through the doc for the list of limitation/s (regarding db objects) on logical standby - there's quite a few of them.
    A well maintained/monitored system will have no additional admin overhead (maybe not initially) than the orhers.
    cheers.
    Lovell.

  • Oracle 9i database software upgrade issue with standby (Dataguard) database

    All,
    I have encountered a problem in upgrading the Oracle software on 2 of our databases in-house. The databases in question here are using Dataguard, so one is set to primary and one is set to standby. The version that they are/were starting at is 9.2.0.7.
    I was able to install and complete the 9.2.0.8 and 9.2.0.8 OCT CPU patches on the primary database, however when I moved to working on the standby database, I am got an error when attempting to follow step 6 of the post installation tasks:
    Enter the following SQL*Plus commands:
    SQL> STARTUP MIGRATE
    SQL> SPOOL patch.log
    SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\catpatch.sql
    SQL> SPOOL OFF
    (Please note that this is my first experience with working with Dataguard, so my methods in updating might have been a bit off-base.)
    If I attempt to startup the standby database in MIGRADE mode, I get the following error (which is expected):
    ORA-01666: controlfile is for a standby database
    If I try to run the catpatch.sql script, even after mounting the database in standby mode, I receive the additional error:
    ORA-01219: database not open: queries allowed on fixed tables/views only
    My question here is, how do I get the standby database to allow me to finish the software upgrade process, so that both versions of Oracle match on the primary and standby databases? :)
    (I did try some research on Metalink, but only found an article detailing how to upgrade your dataguard database from 9i to 10g, which did not look especially helpful in this case...)
    Thank you!
    -Sabrina

    Depending on the kind of Dataguard you currently have, physical or logical, there are two useful metalinks notes:
    Upgrading to 10g with a Physical Standby in Place
         Doc ID:      Note:278521.1
    Upgrading to 10g with a Logical Standby in Place
         Doc ID:      Note:278108.1
    ~ Madrid
    http://hrivera99.blogspot.com/

  • Standby/Dataguard - how is it, really...

    My organization is conservative. We are wondering who is using Standy/Dataguard as a true DR solution at a remote DR vendor. I am interested in 1) type of circuit to DR (T1, T3, bandwidth, etc.), 2)distance from primary to standby (approx. mi./city names), 3) Oracle version and OS/version, 4) how many DBs, 5) how much "peak" archive log are you pushing (MB/GB per hr, 6) what is the best/average/worst latency, 7) general opinions/comments.
    Thank you very much for your time.

    DELETED
    Sorry. Read that as system password the first time. The wifi password needs to be reset in your router, then on your devices. How to do it depends on which router you have.
    In the Airport Extreme, use Airport Utility to get into the router. Double click the base station then choose edit. Select the wireless tab. Enter the new password there.

  • Switchover logical standby dataguard

    hi
    we are using oracle9i on enterprise linux 3 . our primary and logical database are not located remotely but are two different servers.
    now i need to know the steps that i need to perform in order to switch my primary database to standby database and vice versa . i tried few things but was unsuccessful.
    according to my concept what we need to do is
    Make sure no data is arriving and the applied and newest_scn are equal.
    change the database role of the respective database .
    make changes in initialization parameter file to change the primary dest as standby and vice versa .
    and then start logical standby apply .
    Is thier something that i am missing i tried few things from net but was not able to understand the logic and was unsuccessful .
    THANKS

    OEM>Tools>Database Applications>Dataguard Manager.
    Select primary>Disable
    Select secondary>Enable

  • Multiple Standby Dataguard Configuration

    Hi,
    Sorry if this has been posted before, but I could not find the answer.
    I have a Primary site (PRIM) and one Standby site(STBY1). The standby receives archive log changes from the primary. Also using dataguard to manage the Standby.
    I would like to create another standby (STBY2) and use the current standby (STBY1) to send changes to the other standby (STBY2).
    I've read the section on Cascade Redo Log Destinations in Section D of the Dataguard doc, but it really doesnt show how this is configured.
    I assume that my standby (STBY1) would need a the log_archive_dest_2 set to the service that points to the second standby (STBY2).
    My question is.. Do I need to be using Maximum Availibilty and send redo logs vice archive logs? How do I configure dataguard? Is the second standby (STBY2) another site in the dataguard configuration?
    Thanks,
    Roland

    I'm curious, is there a reason that you wouldn't want PRIM to supply the changes to both STBY1 and STBY2? In the configuration you're describing, if there was a failure on STBY1, you couldn't fail over from PRIM to STBY2...
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Backup Physical Standby (Dataguard) using RMAN : Issues

    Hello All,
    I am running a RMAN backup on standby server using the command below. The RMAN backup is actually connecting to the primary database on another server, I found this very confusing and to reassure, i shutdown the primary database and ran the backup again. It fails with not able to conenct to target database. Can you please explain?
    run {
    allocate channel t1 type disk format '/backup/oracle/PRODCDW/RMAN/DBFILES_%d_t%t_s%s_p%p';
    allocate channel t2 type disk format '/backup/oracle/PRODCDW/RMAN/DBFILES_%d_t%t_s%s_p%p';
    recover copy of database with tag 'STDBY_PRODCDW';
    backup as compressed backupset format '/backup/oracle/PRODCDW/RMAN/DBFILES_%d_t%t_s%s_p%p' tag 'STDBY_PRODCDW' incremental level 1 for recover of copy with tag 'STDBY_PRODCDW' database plus archivelog delete input;
    }

    I am not doing the image copy anymore, I am taking the RMAN incremental backups for the database. I am not getting any errors now but, Here is what I want to achieve:
    I am running the RMAN backups on the standby database. I want to :
    1) Delete archivelogs on my PRIMARY server only when these logs are successfully TRANSFERED/APPLIED to all my standby databases?
    2) Delete archivelogs on my STANDBY server only when these logs are sucessfully APPLIED to the database?
    Regards

  • Aplicar Archivelog StandBy DataGuard

    Hola a todos,
    Estoy intentando aplicar los archive en el servidor de standby pero en el alert log de producción  tengo este error:
    ARC1: Archive log rejected (thread 1 sequence 93578) at host 'STBY'
    FAL[server, ARC1]: FAL archive failed, see trace file.
    ARCH: FAL archive failed. Archiver continuing
    ORACLE Instance PROD - Archival Error. Archiver continuing.
    Datos Generales
    Base de datos:  11g Enterprise Edition Release 11.2.0.3.0 con ASM
    Sistema operativo: AIX 5
    Stasnby Query
    SQL> SELECT sequence#, first_time, next_time, applied FROM   v$archived_log ORDER BY sequence#;
    SEQUENCE# FIRST_TIM NEXT_TIME APPLIED
         93578 07-APR-15 07-APR-15 NO
         93590 07-APR-15 07-APR-15 NO
         93591 07-APR-15 07-APR-15 NO
         93592 07-APR-15 07-APR-15 NO
         93593 07-APR-15 07-APR-15 NO
         93594 07-APR-15 07-APR-15 NO
         93595 07-APR-15 07-APR-15 NO
         93596 07-APR-15 07-APR-15 NO
         93597 07-APR-15 07-APR-15 NO
         93598 07-APR-15 07-APR-15 NO
         93599 07-APR-15 07-APR-15 NO
    Los archivos de claves entre ambos servidores son correctos y los archivelogs se pueden pasar sin complicación es inconveniente es al aplicarlos
    Espero me puedan ayudar,

    Alert Log StandBy
    Wed Apr 08 06:26:21 2015
    Archived Log entry 492 added for thread 1 sequence 94083 ID 0x5b342646 dest 1:
    Wed Apr 08 07:19:39 2015
    Archived Log entry 493 added for thread 1 sequence 94084 rlc 820552742 ID 0x5b342646 dest 2:
    RFS[1]: Selected log 7 for thread 1 sequence 94085 dbid 1528939555 branch 820552742
    Wed Apr 08 08:23:45 2015
    RFS[1]: No standby redo logfiles available for thread 1
    RFS[1]: Opened log for thread 1 sequence 94086 dbid 1528939555 branch 820552742
    Wed Apr 08 08:23:45 2015
    Archived Log entry 494 added for thread 1 sequence 94085 ID 0x5b342646 dest 1:
    Wed Apr 08 08:58:36 2015
    Archived Log entry 495 added for thread 1 sequence 94086 rlc 820552742 ID 0x5b342646 dest 2:
    RFS[1]: Selected log 7 for thread 1 sequence 94087 dbid 1528939555 branch 820552742
    Wed Apr 08 09:44:31 2015
    RFS[1]: No standby redo logfiles available for thread 1
    RFS[1]: Opened log for thread 1 sequence 94088 dbid 1528939555 branch 820552742
    Wed Apr 08 09:44:31 2015
    Archived Log entry 496 added for thread 1 sequence 94087 ID 0x5b342646 dest 1:
    Wed Apr 08 10:25:37 2015
    Archived Log entry 497 added for thread 1 sequence 94088 rlc 820552742 ID 0x5b342646 dest 2:
    RFS[1]: Selected log 7 for thread 1 sequence 94089 dbid 1528939555 branch 820552742
    Wed Apr 08 10:39:31 2015
    RFS[1]: No standby redo logfiles available for thread 1
    RFS[1]: Opened log for thread 1 sequence 94090 dbid 1528939555 branch 820552742
    Wed Apr 08 10:39:31 2015
    Archived Log entry 498 added for thread 1 sequence 94089 ID 0x5b342646 dest 1:
    Wed Apr 08 10:42:19 2015
    Archived Log entry 499 added for thread 1 sequence 94090 rlc 820552742 ID 0x5b342646 dest 2:
    RFS[1]: Selected log 7 for thread 1 sequence 94091 dbid 1528939555 branch 820552742
    Wed Apr 08 10:48:31 2015
    RFS[1]: No standby redo logfiles available for thread 1
    RFS[1]: Opened log for thread 1 sequence 94092 dbid 1528939555 branch 820552742
    Wed Apr 08 10:48:31 2015
    Archived Log entry 500 added for thread 1 sequence 94091 ID 0x5b342646 dest 1:
    Wed Apr 08 11:16:46 2015
    Archived Log entry 501 added for thread 1 sequence 94092 rlc 820552742 ID 0x5b342646 dest 2:
    RFS[1]: Selected log 7 for thread 1 sequence 94093 dbid 1528939555 branch 820552742
    Alert Log PROD
    Wed Apr 08 06:05:02 2015
    DM00 started with pid=95, OS id=26345576, job RESPALDO.EXPDPFULL02
    Wed Apr 08 06:05:05 2015
    DW00 started with pid=97, OS id=18612390, wid=1, job RESPALDO.EXPDPFULL02
    Wed Apr 08 06:06:21 2015
    Thread 1 cannot allocate new log, sequence 94081
    Private strand flush not complete
      Current log# 3 seq# 94080 mem# 0: +DATA/uif/onlinelog/group_3.264.820552743
      Current log# 3 seq# 94080 mem# 1: +FRA/uif/onlinelog/group_3.259.820552743
    Thread 1 advanced to log sequence 94081 (LGWR switch)
      Current log# 1 seq# 94081 mem# 0: +DATA/uif/onlinelog/group_1.262.820552743
      Current log# 1 seq# 94081 mem# 1: +FRA/uif/onlinelog/group_1.257.820552743
    Wed Apr 08 06:06:24 2015
    Archived Log entry 128185 added for thread 1 sequence 94080 ID 0x5b342646 dest 1:
    Wed Apr 08 06:06:24 2015
    LNS: Standby redo logfile selected for thread 1 sequence 94081 for destination LOG_ARCHIVE_DEST_2
    Wed Apr 08 06:06:45 2015
    Thread 1 cannot allocate new log, sequence 94082
    Private strand flush not complete
      Current log# 1 seq# 94081 mem# 0: +DATA/uif/onlinelog/group_1.262.820552743
      Current log# 1 seq# 94081 mem# 1: +FRA/uif/onlinelog/group_1.257.820552743
    Thread 1 advanced to log sequence 94082 (LGWR switch)
      Current log# 2 seq# 94082 mem# 0: +DATA/uif/onlinelog/group_2.263.820552743
      Current log# 2 seq# 94082 mem# 1: +FRA/uif/onlinelog/group_2.258.820552743
    Wed Apr 08 06:06:48 2015
    Archived Log entry 128187 added for thread 1 sequence 94081 ID 0x5b342646 dest 1:
    Wed Apr 08 06:07:45 2015
    Thread 1 cannot allocate new log, sequence 94083
    Checkpoint not complete
      Current log# 2 seq# 94082 mem# 0: +DATA/uif/onlinelog/group_2.263.820552743
      Current log# 2 seq# 94082 mem# 1: +FRA/uif/onlinelog/group_2.258.820552743
    Thread 1 advanced to log sequence 94083 (LGWR switch)
      Current log# 3 seq# 94083 mem# 0: +DATA/uif/onlinelog/group_3.264.820552743
      Current log# 3 seq# 94083 mem# 1: +FRA/uif/onlinelog/group_3.259.820552743
    Wed Apr 08 06:07:48 2015
    Archived Log entry 128189 added for thread 1 sequence 94082 ID 0x5b342646 dest 1:
    Wed Apr 08 06:07:48 2015
    LNS: Standby redo logfile selected for thread 1 sequence 94083 for destination LOG_ARCHIVE_DEST_2
    Wed Apr 08 06:27:30 2015
    Thread 1 cannot allocate new log, sequence 94084
    Private strand flush not complete
      Current log# 3 seq# 94083 mem# 0: +DATA/uif/onlinelog/group_3.264.820552743
      Current log# 3 seq# 94083 mem# 1: +FRA/uif/onlinelog/group_3.259.820552743
    Thread 1 advanced to log sequence 94084 (LGWR switch)
      Current log# 1 seq# 94084 mem# 0: +DATA/uif/onlinelog/group_1.262.820552743
      Current log# 1 seq# 94084 mem# 1: +FRA/uif/onlinelog/group_1.257.820552743
    Wed Apr 08 06:27:33 2015
    Archived Log entry 128192 added for thread 1 sequence 94083 ID 0x5b342646 dest 1:
    Wed Apr 08 07:05:01 2015
    DM00 started with pid=86, OS id=33357990, job RESPALDO.EXPDPGDOC
    Wed Apr 08 07:05:02 2015
    DW00 started with pid=95, OS id=11403480, wid=1, job RESPALDO.EXPDPGDOC
    Wed Apr 08 07:20:48 2015
    Thread 1 cannot allocate new log, sequence 94085
    Private strand flush not complete
      Current log# 1 seq# 94084 mem# 0: +DATA/uif/onlinelog/group_1.262.820552743
      Current log# 1 seq# 94084 mem# 1: +FRA/uif/onlinelog/group_1.257.820552743
    Thread 1 advanced to log sequence 94085 (LGWR switch)
      Current log# 2 seq# 94085 mem# 0: +DATA/uif/onlinelog/group_2.263.820552743
      Current log# 2 seq# 94085 mem# 1: +FRA/uif/onlinelog/group_2.258.820552743
    Wed Apr 08 07:20:52 2015
    Archived Log entry 128194 added for thread 1 sequence 94084 ID 0x5b342646 dest 1:
    Wed Apr 08 07:20:52 2015
    LNS: Standby redo logfile selected for thread 1 sequence 94085 for destination LOG_ARCHIVE_DEST_2
    Wed Apr 08 08:24:55 2015
    Thread 1 cannot allocate new log, sequence 94086
    Private strand flush not complete
      Current log# 2 seq# 94085 mem# 0: +DATA/uif/onlinelog/group_2.263.820552743
      Current log# 2 seq# 94085 mem# 1: +FRA/uif/onlinelog/group_2.258.820552743
    Thread 1 advanced to log sequence 94086 (LGWR switch)
      Current log# 3 seq# 94086 mem# 0: +DATA/uif/onlinelog/group_3.264.820552743
      Current log# 3 seq# 94086 mem# 1: +FRA/uif/onlinelog/group_3.259.820552743
    Wed Apr 08 08:24:58 2015
    Archived Log entry 128195 added for thread 1 sequence 94085 ID 0x5b342646 dest 1:
    Wed Apr 08 08:59:46 2015
    Thread 1 cannot allocate new log, sequence 94087
    Private strand flush not complete
      Current log# 3 seq# 94086 mem# 0: +DATA/uif/onlinelog/group_3.264.820552743
      Current log# 3 seq# 94086 mem# 1: +FRA/uif/onlinelog/group_3.259.820552743
    Thread 1 advanced to log sequence 94087 (LGWR switch)
      Current log# 1 seq# 94087 mem# 0: +DATA/uif/onlinelog/group_1.262.820552743
      Current log# 1 seq# 94087 mem# 1: +FRA/uif/onlinelog/group_1.257.820552743
    Wed Apr 08 08:59:49 2015
    Archived Log entry 128197 added for thread 1 sequence 94086 ID 0x5b342646 dest 1:
    Wed Apr 08 08:59:49 2015
    LNS: Standby redo logfile selected for thread 1 sequence 94087 for destination LOG_ARCHIVE_DEST_2
    Wed Apr 08 09:45:40 2015
    Thread 1 cannot allocate new log, sequence 94088
    Private strand flush not complete
      Current log# 1 seq# 94087 mem# 0: +DATA/uif/onlinelog/group_1.262.820552743
      Current log# 1 seq# 94087 mem# 1: +FRA/uif/onlinelog/group_1.257.820552743
    Thread 1 advanced to log sequence 94088 (LGWR switch)
      Current log# 2 seq# 94088 mem# 0: +DATA/uif/onlinelog/group_2.263.820552743
      Current log# 2 seq# 94088 mem# 1: +FRA/uif/onlinelog/group_2.258.820552743
    Wed Apr 08 09:45:43 2015
    Archived Log entry 128200 added for thread 1 sequence 94087 ID 0x5b342646 dest 1:
    Wed Apr 08 10:26:49 2015
    Thread 1 advanced to log sequence 94089 (LGWR switch)
      Current log# 3 seq# 94089 mem# 0: +DATA/uif/onlinelog/group_3.264.820552743
      Current log# 3 seq# 94089 mem# 1: +FRA/uif/onlinelog/group_3.259.820552743
    Wed Apr 08 10:26:50 2015
    Archived Log entry 128201 added for thread 1 sequence 94088 ID 0x5b342646 dest 1:
    Wed Apr 08 10:26:50 2015
    LNS: Standby redo logfile selected for thread 1 sequence 94089 for destination LOG_ARCHIVE_DEST_2
    Wed Apr 08 10:40:44 2015
    Thread 1 advanced to log sequence 94090 (LGWR switch)
      Current log# 1 seq# 94090 mem# 0: +DATA/uif/onlinelog/group_1.262.820552743
      Current log# 1 seq# 94090 mem# 1: +FRA/uif/onlinelog/group_1.257.820552743
    Wed Apr 08 10:40:44 2015
    Archived Log entry 128203 added for thread 1 sequence 94089 ID 0x5b342646 dest 1:
    Wed Apr 08 10:43:32 2015
    Thread 1 advanced to log sequence 94091 (LGWR switch)
      Current log# 2 seq# 94091 mem# 0: +DATA/uif/onlinelog/group_2.263.820552743
      Current log# 2 seq# 94091 mem# 1: +FRA/uif/onlinelog/group_2.258.820552743
    Wed Apr 08 10:43:32 2015
    Archived Log entry 128206 added for thread 1 sequence 94090 ID 0x5b342646 dest 1:
    Wed Apr 08 10:43:32 2015
    LNS: Standby redo logfile selected for thread 1 sequence 94091 for destination LOG_ARCHIVE_DEST_2
    Wed Apr 08 10:49:41 2015
    Thread 1 cannot allocate new log, sequence 94092
    Private strand flush not complete
      Current log# 2 seq# 94091 mem# 0: +DATA/uif/onlinelog/group_2.263.820552743
      Current log# 2 seq# 94091 mem# 1: +FRA/uif/onlinelog/group_2.258.820552743
    Thread 1 advanced to log sequence 94092 (LGWR switch)
      Current log# 3 seq# 94092 mem# 0: +DATA/uif/onlinelog/group_3.264.820552743
      Current log# 3 seq# 94092 mem# 1: +FRA/uif/onlinelog/group_3.259.820552743
    Wed Apr 08 10:49:44 2015
    Archived Log entry 128208 added for thread 1 sequence 94091 ID 0x5b342646 dest 1:
    Wed Apr 08 11:17:59 2015
    Thread 1 advanced to log sequence 94093 (LGWR switch)
      Current log# 1 seq# 94093 mem# 0: +DATA/uif/onlinelog/group_1.262.820552743
      Current log# 1 seq# 94093 mem# 1: +FRA/uif/onlinelog/group_1.257.820552743
    Wed Apr 08 11:17:59 2015
    Archived Log entry 128209 added for thread 1 sequence 94092 ID 0x5b342646 dest 1:
    Wed Apr 08 11:17:59 2015
    LNS: Standby redo logfile selected for thread 1 sequence 94093 for destination LOG_ARCHIVE_DEST_2
    Wed Apr 08 11:45:02 2015
    Thread 1 cannot allocate new log, sequence 94094
    Private strand flush not complete
      Current log# 1 seq# 94093 mem# 0: +DATA/uif/onlinelog/group_1.262.820552743
      Current log# 1 seq# 94093 mem# 1: +FRA/uif/onlinelog/group_1.257.820552743
    Thread 1 advanced to log sequence 94094 (LGWR switch)
      Current log# 2 seq# 94094 mem# 0: +DATA/uif/onlinelog/group_2.263.820552743
      Current log# 2 seq# 94094 mem# 1: +FRA/uif/onlinelog/group_2.258.820552743
    Wed Apr 08 11:45:05 2015
    Archived Log entry 128212 added for thread 1 sequence 94093 ID 0x5b342646 dest 1:

  • In my standby dataguard configuration

    Hi All,
    I observed one strange thing in my database is that my archives are getting shipped regularly to DR site but in night time only it starts to getting applied. Some time, it starts to apply but its very slow. I confirmed with network team and they said that there is no problem in connectivity.
    Could anyone tell me about this please ?
    My email # [email protected]
    Regards,
    Star Nirav
    +91 9227258878

    I'm curious, is there a reason that you wouldn't want PRIM to supply the changes to both STBY1 and STBY2? In the configuration you're describing, if there was a failure on STBY1, you couldn't fail over from PRIM to STBY2...
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Gaps in Oracle Dataguard Standby

    Hello,
    The system is a Logical Standby Dataguard.
    With the following query it is possible to see that there are gaps:
    SQL> set numformat 99999999999
    SQL> set linesize 2000
    SQL> set pagesize 20000
    SQL> select thread# trd, sequence#,
    2 first_change#, next_change#,
    3 dict_begin beg, dict_end end,
    4 to_char(timestamp, 'DD-MON-YYYY HH24:MI:SS') timestamp,
    5 (case when l.next_change# < p.read_scn then 'YES'
    6 when l.first_change# < p.applied_scn then 'CURRENT'
    7 else 'NO' end) applied
    8 from dba_logstdby_log l, dba_logstdby_progress p
    9 order by thread#, first_change#;
    1 614 18542918309 18542918429 NO NO 04-DEC-2009 09:31:11 YES
    1 633 18543602669 18543836687 NO NO 04-DEC-2009 09:31:10 YES
    1 637 18543836687 18544028244 NO NO 04-DEC-2009 09:31:10 YES
    1 12832 203846572934 203846572944 NO NO 22-DEC-2009 09:31:10 YES
    Although all of them are APPLIED, and it is still receiving and applying the redo, it seems like there are some gaps.
    How can I check that the Standby is totally synchronized? How can I check if the Standby has still those archive logs that haven't been applied?
    Thanks in advance.

    There are errors in the alert of the Primary on the 4th of Dec. and it seems like the Primary had problems trying to do the archive in the Standby:
    Error 1034 received logging on to the standby
    Errors in file /opt/oracle/diag/rdbms/db_s2/DB1/trace/DB1_arc5_15720.trc:
    ORA-01034: ORACLE not available
    FAL[server, ARC5]: FAL archive failed, see trace file.
    Errors in file /opt/oracle/diag/rdbms/db_s2/DB1/trace/DB1_arc5_15720.trc:
    ORA-16055: FAL request rejected
    ARCH: FAL archive failed. Archiver continuing
    ORACLE Instance DB1 - Archival Error. Archiver continuing.
    The thing is that I don't know if those archive logs where sent or not to the Standby and if the Standby applied them or not.
    By the following query, it seems like there are some archive logs that weren't applied, but the strange thing is that the Standby is still working and applying and that there are archive logs from today which have been received and applied, and as far as I know, the DG stops applying if there are gaps...
    1 633 18543602669 18543836687 NO NO 04-DEC-2009 09:31:10 YES
    1 637 18543836687 18544028244 NO NO 04-DEC-2009 09:31:10 YES
    1 12832 203846572934 203846572944 NO NO 22-DEC-2009 09:31:10 YES
    ...

  • Error raised when opening physical standby in read only

    Hi,
    I've a physical standby 11.2.0.2 created using RMAN duplicate from active database which is configured with data guard. When I open the database in READ ONLY mode
    SQL> alter database open read only;
    Database altered.
    SQL> select open_mode from v$database;
    OPEN_MODE
    READ ONLY
    I get this error in the alert log
    Physical standby database opened for read only access.
    Fri Aug 12 15:14:01 2011
    db_recovery_file_dest_size of 256000 MB is 4.72% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Errors in file /oradata/admin/ORAINT/diag/diag/rdbms/oraintsb/oraintsb/trace/ora intsb_ora_8692.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00931: missing identifier
    ORA-06512: at "SYS.DBMS_UTILITY", line 156
    ORA-06512: at "SYS.DBMS_SHARED_POOL", line 72
    ORA-06512: at "SYS.DBMS_SHARED_POOL", line 84
    ORA-06512: at "SYS.PROC_PKGS_KEEP", line 26
    ORA-06512: at line 2
    Completed: alter database open read only
    the tracefile is showing this,
    Trace file /oradata/admin/ORAINT/diag/diag/rdbms/oraintsb/oraintsb/trace/oraintsb_ora_8692.trc
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORACLE_HOME = /opt/oracle/product/11.2.0/ORAINT
    System name: Linux
    Node name: c4p-db01
    Release: 2.6.18-194.0.0.0.3.el5xen
    Version: #1 SMP Mon Mar 29 18:27:00 EDT 2010
    Machine: x86_64
    VM name: Xen Version: 3.4 (PVM)
    Instance name: oraintsb
    Redo thread mounted by this instance: 1
    Oracle process number: 17
    Unix process pid: 8692, image: oracle@c4p-db01 (TNS V1-V3)
    *** 2011-08-12 15:14:03.367
    *** SESSION ID:(24.1) 2011-08-12 15:14:03.367
    *** CLIENT ID:() 2011-08-12 15:14:03.367
    *** SERVICE NAME:(SYS$USERS) 2011-08-12 15:14:03.367
    *** MODULE NAME:(sqlplus@c4p-db01 (TNS V1-V3)) 2011-08-12 15:14:03.367
    *** ACTION NAME:() 2011-08-12 15:14:03.367
    Error in executing triggers on database startup
    *** 2011-08-12 15:14:03.367
    dbkedDefDump(): Starting a non-incident diagnostic dump (flags=0x0, level=0, mask=0x0)
    ----- Error Stack Dump -----
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00931: missing identifier
    ORA-06512: at "SYS.DBMS_UTILITY", line 156
    ORA-06512: at "SYS.DBMS_SHARED_POOL", line 72
    ORA-06512: at "SYS.DBMS_SHARED_POOL", line 84
    ORA-06512: at "SYS.PROC_PKGS_KEEP", line 26
    ORA-06512: at line 2
    if I disable the system triggers using
    ALTER SYSTEM SET "_system_trig_enabled"=FALSE scope=both;
    The error doesn't appear but when trying to switch to active dataguard the open_mode goes from READ ONLY to MOUNTED rather than READ ONLY WITH APPLY
    Any help much appreciated
    Edited by: phil74 on 12-Aug-2011 07:22

    Have you checked what your guard status is set to?
    SQL> SELECT guard_status from v$database;I've had a similar issue before but with a standby, whereby the status was set to ALL. This means all users apart from SYS are unable to make changes on the database.
    My resolution was to set the status to standby:
    SQL> ALTER DATABASE GUARD STANDBY;You may wish to set the guard status to NONE however.
    I took some notes:
    http://juniororacledba.wordpress.com/2011/07/17/oracle-logical-standby-dataguard-error However, I do not have a link to any Oracle documentation on the subject to hand. But might give you a head start.

  • DB link for physical standby database

    Hi All ,
    I'm facing the below error on primary while trying to create a db link pointing to the 10g standby database which is in mount stage.
    SQL> create database link synct connect to system identified by 123 using 'stdby';
    Database link created.
    SQL> select max(sequence#) from v$archived_log@synct where applied='YES';
    select max(sequence#) from v$archived_log@synct where applied='YES'
    ERROR at line 1:
    ORA-02068: following severe error from SYNCT
    ORA-01033: ORACLE initialization or shutdown in progress
    Database version is 10.2 standard edition
    My requirement is i need to get max(sequence#) of standby database from primary database using db link.
    what i was trying to do is
    on primary get max(sequence#) & get max(sequence#) of standby using db link and compare both if the gap differene is more than 10 send a mail.
    Any suggestions will be really helpful

    976422 wrote:
    Hi All ,
    I'm facing the below error on primary while trying to create a db link pointing to the 10g standby database which is in mount stage.
    SQL> create database link synct connect to system identified by 123 using 'stdby';
    Database link created.
    SQL> select max(sequence#) from v$archived_log@synct where applied='YES';
    select max(sequence#) from v$archived_log@synct where applied='YES'
    ERROR at line 1:
    ORA-02068: following severe error from SYNCT
    ORA-01033: ORACLE initialization or shutdown in progress
    Post Standby/DataGuard/ADG all questions further in Oracle Discussion Forums » High Availability » Data Guard
    If you try to connect any users other than SYS in standby the error is very much expected. Of course you can connect with other users if you open database in OPEN READ ONLY mode, from 11gRx you can connect with other users even MRP is running if you are using ADG(active Data Guard licensed) .
    I like to know, what you want to achieve by creating DB Link on physical standby database? Which is not allowed.
    Database version is 10.2 standard edition
    My requirement is i need to get max(sequence#) of standby database from primary database using db link.
    what i was trying to do is
    on primary get max(sequence#) & get max(sequence#) of standby using db link and compare both if the gap differene is more than 10 send a mail.
    Any suggestions will be really helpfulNote:- Standard edition, Data Guard not enabled.
    To use this you should use Oracle Net Service, you no need of DB Links.
    Ex:- sqlplus sys/****@standby as sysdba
    Here standby refers to Oracle net service, Where you will have entries in $ORACLE_HOME/network/admin/tnsnames.ora file.
    Edited by: CKPT on Dec 12, 2012 2:01 PM

  • Standby synchronization in 11g Standard Edition.

    I have the following environment: one primary DB and one standby DB (both 11g Standard).
    I have to synchronize standby with primary but in Standard edition I can not use automatic mechanism.
    I don’t want to use commercial staff like Pervasync.
    How can I achieve this? May I e.g. generate archive and/or control files, next “manually” send and put these to standby?
    Reg,
    Jarek

    Refer to metalink:
    Alternative for standby/dataguard in standard edition
    Doc ID: 333749.1
    Werner

  • Static listener registration 11gr2 RAC Primary and standalone Standby

    Hi Guys,
    I have to build up a single instance Physical Standby(Dataguard) for a primary RAC (11.2.0.1).The concern or rather confusion we have three SCAN LISTENERS across 2 node cluster,in order for me to have static registration for duplication of database for standby i need to have it put in the listener.ora .
    Do i have to create the static listeners for default listener as well as the scan listeners?

    My understanding is No.
    The Oracle instance would automatically register the local listener to SCAN listeners, so I believe just the default needs this.
    This document has Scan listener example and none of them use a _DGMGRL
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-11g-rac-standby-133152.pdf
    Best Regards
    mseberg
    This document seems to support my statement :
    11.2 Scan and Node TNS Listener Setup Examples [ID 1070607.1]
    Edited by: mseberg on Aug 5, 2011 2:02 PM
    Also of interest :
    11gR2 Grid Infrastructure Single Client Access Name (SCAN) Explained [ID 887522.1]

  • Dataguard recovery not happenning

    Hi,
    I have configured physical standby dataguard for maximum availability and was working fine. When i did switchover i found that the archives are transfered but the recovery is not havppening. I created a table on my present primary and log switched, but the table is not recovered at standby.
    At Primary
    SELECT DATABASE_ROLE, DB_UNIQUE_NAME INSTANCE, OPEN_MODE,PROTECTION_MODE, PROTECTION_LEVEL, SWITCHOVER_STATUS FROM V$DATABASE
    DATABASE_ROLE INSTANCE OPEN_MODE PROTECTION_MODE PROTECTION_LEVEL SWITCHOVER_STATUS
    PRIMARY MEDSTBY READ WRITE MAXIMUM AVAILABILITY RESYNCHRONIZATION TO STANDBY
    SQL>SELECT MESSAGE FROM V$DATAGUARD_STATUS;
    MRP0: Background Managed Standby Recovery process started
    Managed Standby Recovery starting Real Time Apply
    Media Recovery Waiting for thread 1 sequence 111 (in transit)
    Primary database is in MAXIMUM PERFORMANCE mode
    Media Recovery Waiting for thread 1 sequence 112 (in transit)
    RFS[2]: Successfully opened standby log 4: '/app/oracle/oradata/MEDCARE/redo04.log'
    Media Recovery Waiting for thread 1 sequence 113
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[2]: Successfully opened standby log 5: '/app/oracle/oradata/MEDCARE/redo05.log'
    SQL>SELECT THREAD#, SEQUENCE#, APPLIED FROM V$ARCHIVED_LOG;
    1 103 YES
    1 104 NO
    1 105 NO
    1 106 NO
    1 106 YES
    1 105 YES
    1 104 YES
    1 107 YES
    1 107 NO
    1 108 YES
    1 108 NO
    1 109 NO
    1 109 YES
    1 110 YES
    1 110 NO
    1 111 YES
    1 111 NO
    1 112 YES
    1 112 NO
    At Standby:
    SELECT DATABASE_ROLE, DB_UNIQUE_NAME INSTANCE, OPEN_MODE,PROTECTION_MODE, PROTECTION_LEVEL, SWITCHOVER_STATUS FROM V$DATABASE
    DATABASE_ROLE INSTANCE OPEN_MODE PROTECTION_MODE PROTECTION_LEVEL SWITCHOVER_STATUS
    PHYSICAL STANDBY MEDPRIM MOUNTED MAXIMUM PERFORMANCE MAXIMUM PERFORMANCE NOT ALLOWED
    SQL> SELECT MESSAGE FROM V$DATAGUARD_STATUS;
    LNS: Standby redo logfile selected for thread 1 sequence 110 for destination LOG_ARCHIVE_DEST_2
    ARC3: Standby redo logfile selected for thread 1 sequence 109 for destination LOG_ARCHIVE_DEST_2
    LNS: Standby redo logfile selected for thread 1 sequence 111 for destination LOG_ARCHIVE_DEST_2
    LNS: Standby redo logfile selected for thread 1 sequence 112 for destination LOG_ARCHIVE_DEST_2
    LNS: Standby redo logfile selected for thread 1 sequence 113 for destination LOG_ARCHIVE_DEST_2
    SQL>SELECT THREAD#, SEQUENCE#, APPLIED FROM V$ARCHIVED_LOG;
    1 101 YES
    1 102 YES
    1 102 NO
    1 103 YES
    1 103 NO
    1 106 YES
    1 105 YES
    1 104 YES
    1 107 YES
    1 108 YES
    1 109 YES
    1 110 YES
    1 111 YES
    1 112 YES
    please suggest to trouble shoot this.
    Thank You.

    Dear user12045167,
    How did you set them up and created the spfile?
    What are those parameters on both sides;
    show parameter fal_client;
    show parameter fal_server;
    show parameter dg_config;Ogan

Maybe you are looking for

  • ORA-12801: error signaled in parallel query server P007

    Hi friends, I am running a update on a big table with parallel clause. I got the below error.Can someone help what should i next? This query takes a long time to execute(nearly 1 hour). I searched on google and metalink but no success yet. ======= OR

  • Joins my video clips?

    I am working with video clips outside of my timeline (audio is on the timeline). Ever so often, when I add a transition, it will create a full clip and box it like this. A)How do I disable this OR B) How do I break apart these boxes once formed. Than

  • Unable to open Numbers 3.5 file in Numbers 3.2

    I'm unable to open a Numbers 3.5 file in Numbers 3.2.  My wife has a macbook pro with Maverick and numbers 3.2.  I've created a 3.5 file and sent it over to her. However she cannot open it. Any suggestions?

  • What is the best way to run Quicken 2007 on Lion?

    I must use Quicken 2007 but have upgraded to Lion. What is the best way to continue using a program that is no longer compatible with 10.7

  • Multiple computer installations?

    I use logic on my studio G5, as well as a Macbook - I just take my dongle with me... With the removal the dongle key, does anyone know if I'll still be able to use it on both of my computers?