Standby redologs on Physical Standby

Hi all,
Oracle 10gR2
I'd already created Standby redolog files @Primary then take rman backup of datafiles,archivelogfiles and control file for restoration standby
do i still need to create standby redolog files @Physical standy (after rman restoration completes)
RMAN> DUPLICATE TARGET DATABASE FOR STANDBY NOFILENAMECHECK;
Kindly suggest.
Regards & thanks to all
Muhammad Shakeel Azeem

Hello;
No.
If you create the SRL on the Primary and then take an RMAN backup for duplicate they will be part of that backup.
Example :
RMAN RUN {
allocate channel d1 type disk;
backup format '/u01/backups/PRIMARY/df_t%t_s%s_p%p' database;
sql 'alter system archive log current';
backup format '/u01/backups/PRIMARY/al_t%t_s%s_p%p' archivelog all;
backup current controlfile for standby format '/u01/backups/PRIMARY/sb_t%t_s%s_p%p';
release channel d1;
}Restore example
run {
allocate channel C1 device type disk;
allocate auxiliary channel C2 device type disk;
duplicate target database for standby nofilenamecheck;
}Best Regards
mseberg
Double Check ( To be clear on Oracle 11, but I think it work the same on 10 )
I checked my test Standby which I created using RMAN- The SRL's are there.
But you are 10 so use this to check for them :
select * from v$standby_log;If they are not there and the database is mounted create them as follows :
ALTER DATABASE ADD STANDBY LOGFILE GROUP 4 '/u01/app/oracle/oradata/PRIMARY/redo04.log' SIZE 100M;Change path, size, names and groups as needed.
Edited by: mseberg on Mar 24, 2012 8:29 AM
Edited by: mseberg on Mar 24, 2012 8:32 AM

Similar Messages

  • Redologs in physical standby database

    The MRP process is started and the standby database is physical standby, which is running under managed standby. My Question is as below
    1. Under managed recovery mode do we require the redo logs created on the physical standby database.
    2. How does oracle keep the database in sync when there are no redo logs are created on the standby database.

    The output is as below
    SQL> select status, pid, sequence# from v$managed_standby where process like 'MRP%';
    STATUS PID SEQUENCE#
    WAIT_FOR_GAP 29710 88576
    SQL>
    The contents of alertlog ; i Just restarted the managed recovery to capture the information
    RFS[1]: Archived Log: '/u02/archive/1_88817_665420030.dbf'
    Sun Apr 18 18:34:26 2010
    RFS[2]: No standby redo logfiles created
    RFS[2]: Archived Log: '/u02/archive/1_88818_665420030.dbf'
    Sun Apr 18 18:44:26 2010
    RFS[3]: No standby redo logfiles created
    RFS[3]: Archived Log: '/u02/archive/1_88819_665420030.dbf'
    Sun Apr 18 18:54:26 2010
    RFS[4]: No standby redo logfiles created
    RFS[4]: Archived Log: '/u02/archive/1_88820_665420030.dbf'
    Sun Apr 18 18:56:32 2010
    alter database recover managed standby database cancel
    Sun Apr 18 18:56:50 2010
    MRP0: Background Media Recovery cancelled with status 16037
    Sun Apr 18 18:56:50 2010
    Errors in file /opt/home/oracle/admin/rmdp3/bdump/rmdp3_mrp0_29710.trc:
    ORA-16037: user requested cancel of managed recovery operation
    Recovery interrupted!
    Sun Apr 18 18:56:51 2010
    Waiting for MRP0 pid 29710 to terminate
    Sun Apr 18 18:56:51 2010
    Errors in file /opt/home/oracle/admin/rmdp3/bdump/rmdp3_mrp0_29710.trc:
    ORA-16037: user requested cancel of managed recovery operation
    Sun Apr 18 18:56:51 2010
    MRP0: Background Media Recovery process shutdown (rmdp3)
    Sun Apr 18 18:56:52 2010
    Managed Standby Recovery Canceled (rmdp3)
    Completed: alter database recover managed standby database cancel
    Sun Apr 18 18:57:19 2010
    alter database recover managed standby database disconnect
    from session
    Sun Apr 18 18:57:19 2010
    Attempt to start background Managed Standby Recovery process (rmdp3)
    MRP0 started with pid=19, OS id=2123
    Sun Apr 18 18:57:19 2010
    MRP0: Background Managed Standby Recovery process started (rmdp3)
    Managed Standby Recovery not using Real Time Apply
    Sun Apr 18 18:57:24 2010
    Errors in file /opt/home/oracle/admin/rmdp3/bdump/rmdp3_mrp0_2123.trc:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '/u03/redologs/rmdp3/redo01.log'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    Sun Apr 18 18:57:24 2010
    Errors in file /opt/home/oracle/admin/rmdp3/bdump/rmdp3_mrp0_2123.trc:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '/u03/redologs/rmdp3/redo01.log'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    Clearing online redo logfile 1 /u03/redologs/rmdp3/redo01.log
    Clearing online log 1 of thread 1 sequence number 88818
    Sun Apr 18 18:57:24 2010
    Errors in file /opt/home/oracle/admin/rmdp3/bdump/rmdp3_mrp0_2123.trc:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '/u03/redologs/rmdp3/redo01.log'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    Sun Apr 18 18:57:24 2010
    Errors in file /opt/home/oracle/admin/rmdp3/bdump/rmdp3_mrp0_2123.trc:
    ORA-19527: physical standby redo log must be renamed
    ORA-00312: online log 1 thread 1: '/u03/redologs/rmdp3/redo01.log'
    Clearing online redo logfile 1 complete
    Media Recovery Waiting for thread 1 sequence 88576
    Fetching gap sequence in thread 1, gap sequence 88576-88675
    FAL[client]: Error fetching gap sequence, no FAL server specified
    Sun Apr 18 18:57:25 2010
    Completed: alter database recover managed standby database disconnect
    from session
    Sun Apr 18 18:57:54 2010
    FAL[client]: Failed to request gap sequence
    GAP - thread 1 sequence 88576-88675
    DBID 440735188 branch 665420030
    FAL[client]: All defined FAL servers have been attempted.
    Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
    parameter is defined to a value that is sufficiently large
    enough to maintain adequate log switch information to resolve
    archivelog gaps.
    Edited by: user11982297 on Apr 18, 2010 10:58 AM

  • Creation of logical standby by shipping the  redologs from physical standby

    Hi all,
    I have to create a logical standby database using redo shipping from my PHYSICAL STANDBY while it is in mounted state .Is it really possible to do it??
    Please send me any docs regarding this to my mail id ([email protected])
    Thanx in advance

    It is possible to do what you ask by using cascaded destinations. See the Data Guard Manual (online at OTN) http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14239/cascade_appx.htm#i636046
    for the information. This relies on the standby creating and re-transmitting redo log data.
    Hope this helps

  • Standby Redolog Creation for Physical standby

    I want to migrate my primary database from one server X to standby database which i want to create on other server Y. once Primary and standby will get SYNC , i will do Fail over to make standby as primary and divert current application on standby considering as full functional Primary.
    Is it mandatory to create SRL ( Standby redo log)? or I can create physical standby without SRL? If Yes, on which side (primary or standby) i need to create SRL?
    Appreciate your help..

    Hello,
    Now, My standby database has configured. Since i had restore and recover standby database from standby controlfile instead of RMAN Duplicate. I had done following step:
    ON standby side:
    $rman target /
    RMAN> restore standby controlfile from '/app/oracle/standbyctl.ctl'
    RMAN> sql 'alter database mount standby database';
    RMAN> restore database;
    RMAN> list backup of archive log all;
    RMAN> RMAN> recover database until sequence 1670;
    SQL> alter database recover managed standby database disconnect from session;
    •     On Primary:
    SQL> alter system set log_archive_dest_state_2=ENABLE;
    •     On Standby:
    SQL> select sequence#,applied from v$archived_log order by sequence#;
    I am at this stage now. My primary and standby database in synchronization. As per my first thread above, we will have planned outage to move application to standby database and make it full functional primary database. once application will move on new server( standby database). we will not use current primary database anymore.
    what are the procedure i need to do on primary side and standby side when migrate application on new server.? rightnow my standby database in MOUNT mode and archive log is shipping from primary to standby. we have no dataguard broker configuration. i need to do it manually using SQL command.

  • How to remove dg broker and create 2nd physical standby?

    We have a dg broker setup 2 years ago for our production DB for DG standby. But we never used it. It kept down since then. However, we still have the configuration in the database like this:
    Primary:
    log_archive_config string DG_CONFIG=(dxp1p, DXP1P_STD)
    log_archive_dest_1 string location="/u04/dxp1p/archive", valid_for=(ONLINE_LOGFILE,ALL_ROLES)
    log_archive_dest_2 string SERVICE=DXP1P_VA MAX_CONNECTIONS=3 REOPEN=60 db_unique_name=DXP1P_STD
    dg_broker_config_file1 string /u01/dxp1p/data/dgconf1.dat
    dg_broker_config_file2 string /oracle/product/10g/dbs/dr2dxp1p.dat
    dg_broker_start boolean FALSE
    1st Standby:
    log_archive_config string DG_CONFIG=(dxp1p, DXP1P_STD)
    log_archive_dest_1 string location="/u02/dxp1p/archive/" , valid_for=(ALL_LOGFILES,ALL_ROLES) db_unique_name=DXP1P_STD
    dg_broker_config_file1 string /oracle/product/10g/dbs/dr1dxp1pdr.dat
    dg_broker_config_file2 string /oracle/product/10g/dbs/dr2dxp1pdr.dat
    dg_broker_start boolean FALSE
    When I tried to logon to dgmgrl, got this message:
    ORA-16525: the Data Guard broker is not yet available
    I would like to remove the dg broker and let the current standby continuing running normal. Plus I would like to add another standby database to the primary at different location. I tried to change:
    log_archive_config to 'read, receive, nodg_config'
    log_archive_dest_2 to 'SERVICE=DXP1P_VA LGWR ASYNC=20480'
    It seems breaking the archive send, and got the message from alter log:
    =================================================
    Errors in file /oracle/admin/dxp1p/bdump/dxp1p_lns1_29074.trc:
    ORA-16057: DGID from server not in Data Guard configuration
    LNS: Failed to archive log 4 thread 1 sequence 168101 (16057)
    Mon Jul 30 17:47:27 2012
    Errors in file /oracle/admin/dxp1p/bdump/dxp1p_arc0_5962.trc:
    ORA-16057: DGID from server not in Data Guard configuration
    Mon Jul 30 17:47:27 2012
    FAL[server, ARC0]: Error 16057 creating remote archivelog file 'DXP1P_VA'
    FAL[server, ARC0]: FAL archive failed, see trace file.
    Mon Jul 30 17:47:27 2012
    Errors in file /oracle/admin/dxp1p/bdump/dxp1p_arc0_5962.trc:
    ORA-16055: FAL request rejected
    ARCH: FAL archive failed. Archiver continuing
    Mon Jul 30 17:47:27 2012
    ORACLE Instance dxp1p - Archival Error. Archiver continuing.
    Mon Jul 30 17:47:57 2012
    Thread 1 cannot allocate new log, sequence 168102
    Private strand flush not complete
    Current log# 4 seq# 168101 mem# 0: /u02/dxp1p/redolog/redo04a.log
    Current log# 4 seq# 168101 mem# 1: /u03/dxp1p/redolog/redo04b.log
    Beginning log switch checkpoint up to RBA [0x290a6.2.10], SCN: 12200747321258
    Mon Jul 30 17:47:57 2012
    Thread 1 advanced to log sequence 168102 (LGWR switch)
    Current log# 5 seq# 168102 mem# 0: /u02/dxp1p/redolog/redo05a.log
    Current log# 5 seq# 168102 mem# 1: /u03/dxp1p/redolog/redo05b.log
    Mon Jul 30 17:47:58 2012
    ARC1: Archivelog destination LOG_ARCHIVE_DEST_2 disabled: destination Data Guard configuration error
    =================================================================
    I changed back right away since this is critical production DB. Maybe it works, but I may not wait enough long time for the archive send resume? I will also need to create 2nd standby. My plan is to remove the dg broker, since this is not used for long time anyway. To add 2nd standby by changing the primary DB parameter log_archive_dest_3.
    Please advice. Thanks!

    Hello;
    Would follow this note :
    How to Safely Remove a Data Guard Broker Configuration [ID 261336.1]
    What type of second Standby, just another physical ?
    Since you don't find my information helpful I won't waste anymore of your time.
    Best Regards
    mseberg

  • How to apply Oracle patch when physical standby database in place

    Dear All,
    I want to apply Oracle patchset 8 on 10.2.0.5 when physical standby database in place. What are the steps for Primary site and for standby site.
    Thanks in advance
    Kamran Laeeq

    Hi Kamran,
    You will not upgrade or patch the standby database by importing offline redologs. On the contrary, there is a procedure to do this. Please note that you will not transitiate the role from standby to primary or startup the database. You will just startup the database by executing "startup mount" and "startup upgrade", during the upgrade. It means that you will not change database role standby to primary and you will be able to continue to the log shipment after the respective upgrade.
    But, it is very important that you should stop the log shipment and apply all the offline redologs, before the upgrade. Technically, you can import offline redologs after the upgrade, by changing "compatibility" parameter in oracle, but regarding to my experiences it may cause some problems after you transitiate the role from standby to primary.
    In short;
    In order to stop log shipment, at the primary site;
    alter system set log_archive_dest_state_2=defer;
    In order to import all the offline redologs without a delay, at the standby site;
    alter database recover managed standby database cancel;
    alter database recover managed standby database nodelay disconnect from session;
    I hope that I clarified the issue,
    Best regards,
    Orkun Gedik

  • Standby database online redologs

    1-)
    I know that online redologs are not being used in physical standby database.
    Suppose I created a physical standby database with standby redologs.
    As far as I know online redologs are not used in standby database,(standby redologs are used)
    However, when I check the status of the online redologs in standby database I see that:
    "CLEARING_CURRENT" or "CLEARING".
    Their status is also changing once log switch occurs in production.
    Whats the reason for this and why does this status always change, if standby online redologs are not used, their status
    should not change.
    2-)
    What would happen if I delete the online redolog of the standby database from the operating system?
    Does the status again show: clearing,clearing current?

    Standby online logs are not used, but they have status CLEARING in preparation for a possible switchover/failover. So they are ready to become very fast active online logs.
    I would never delete any database files on OS level, although the standby online logs are not needed when the database runs in standby role, Oracle will complain about their missing. At least when you restart the standby.
    Werner

  • Standby redolog creation

    Hi,
    At the time of physical standby DB creation Oracle doc says that...
    3.1.3 Configure a Standby Redo Log
    Example 3-1 Adding a Standby Redo Log File Group to a Specific Thread
    The following statement adds a new standby redo log file group to a standby database and assigns it to THREAD 5:
    SQL> ALTER DATABASE ADD STANDBY LOGFILE THREAD 5
    2> ('/oracle/dbs/log1c.rdo','/oracle/dbs/log2c.rdo') SIZE 500M;
    Is this logfiles created in the primary DB and the directory structure is in primary DB?
    If yes then, how under section 5.1 Introduction to Redo Transport Services figure 5-1shows standby redolog files are showing in standby DB?
    So shall I create standby redolog in both DBs? or only in primary DB?
    I need your input to clear this confusion please.
    regards

    Hello,
    You SHOULD create your standby redo log files on both your current primary AND your current standby.
    You never know, one day the current primary might be the current standby and the current standby your now current primary!
    jason
    http://jarneil.wordpress.com/2007/11/18/standby-redo-logs/

  • Oracle 10g Dataguard Physical Standby Database

    When I set my dataguard group to "MAXIMIZE AVAILABILITY" the protection level is always RESYNCHRONIZATION.
    It's normal ?
    SQL> SELECT PROTECTION_MODE, PROTECTION_LEVEL, DATABASE_ROLE FROM V$DATABASE;
    PROTECTION_MODE PROTECTION_LEVEL DATABASE_ROLE
    MAXIMUM AVAILABILITY RESYNCHRONIZATION PHYSICAL STANDBY
    SQL> show parameter log_archive_dest_2
    NAME TYPE VALUE
    log_archive_dest_2 string SERVICE=PIJ10G2 LGWR SYNC AFFIRM
    SQL> show parameter log_archive_dest_state_2;
    NAME TYPE VALUE
    log_archive_dest_state_2 string ENABLE

    this is my log on primary db :
    Thread 1 advanced to log sequence 422
    Current log# 1 seq# 422 mem# 0: /oradata/orapij10g/redologs/PIJ10G/redo01.log
    Wed Oct 1Thread 1 cannot allocate new log, sequence 423
    Private strand flush not complete
    Current log# 1 seq# 422 mem# 0: /oradata/orapij10g/redologs/PIJ10G/redo01.log
    Wed Oct 17 16:24:51 2007
    Destination LOG_ARCHIVE_DEST_3 is SYNCHRONIZED
    LNSc started with pid=34, OS id=21052
    Wed Oct 17 16:24:56 2007
    Destination LOG_ARCHIVE_DEST_3 is UNSYNCHRONIZED
    Wed Oct 17 16:24:56 2007
    Errors in file /oracle/ora10g/admin/PIJ10G/bdump/pij10g_lgwr_26248.trc:
    ORA-16086: Message 16086 not found; No message file for product=RDBMS, facility=ORA
    LGWR: Failed to archive log 2 thread 1 sequence 423 (16086)
    Thread 1 advanced to log sequence 423
    Current log# 2 seq# 423 mem# 0: /oradata/orapij10g/redologs/PIJ10G/redo02.log
    I don't understand this error message. How can solve my probleme ?

  • Standby redolog files

    Hi
    I think standby redolog files are not required if I open the physical standby database in read/write mode by using flashback database techonology. Kindly let me know if I am wrong.

    sat1980 wrote:
    Hi,
    Thanks for coming back on this, sorry for confusing with my question, I will re-frame my question as
    "I think standby redolog files are not required on PRODUCTION, if I open the physical standby database in read/write mode by using flashback database techonology", basically I wanted to know that standby redologs on production and standby are required only when switch over are switch back are done.If you would open(using any technology wether flashback or without it) your physical standby database (keeping production also in open mode) that means both these database are now independent and redo logs(archive logs) of any of the database cannot be applied to each other. Hence there would not be any use of standby redo log files.
    Standby redo logs are used to get the redo files(data) on the standby database from the primary even if the redo log is not archived on primary. Hence if you want that feature in your standby database it is necessary to have standby redo log files.
    Yes standby redo log files are not required for production but oracle recommends it to make smooth switch over.
    Regards
    Anurag

  • Which standby redolog directory is OK?

    I have tried many times to configure a physical standby database manually. But no once succeed. The error message is "ORA-02778: Name given for the log directory is invalid." I don't know which standby redolog directory should I specify?
    The rodolog directory of primary database is 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL9\REDO01.LOG'.
    When I specify one of follow directory for a standby redolog file, the system always show previous error message:
    'C:\ORACLE\PRODUCT\10.2.0\ORADATA\STDBY3\REDO01.LOG'
    '\ORACLE\PRODUCT\10.2.0\ORADATA\STDBY3\REDO01.LOG'
    'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL9\REDO05.LOG'
    Only add log file,don't specify it's directory.
    10g-10.2.0 on WindowsXP,only one member per group.
    primary and stanby database on same host.
    Message was edited by:
    frank.qian
    Message was edited by:
    frank.qian
    Message was edited by:
    frank.qian

    Thank you for consideration.
    I will post the steps later.
    Firstly,I want to ask you some questions:
    ---In the documentation of 10g(10.2), the step of adding standby redo logfile is listed before mounting standby database.(seeOracle® Data Guard Concepts and Administration: 3.1.3 Configure a Standby Redo Log). But in the documentations of 10g(10.1) and 11g(11.1), this step is listed after the mounting of dtandby database. Why not same. I have checked other person's statements. Most of them prefer the latter.Is 10g(10.2)'s documentation wrong? I create standby database according to the steps listed in 10g(10.2) documentation.
    ---When I create the stanby database, the parameter LOCK_NAME_SPACE was not edited in standby Pfile, Because this step is not listed in the documentation.
    Message was edited by:
    frank.qian
    Message was edited by:
    frank.qian

  • Export on physical standby database ?

    Can we take export at physical standby database ?
    Its oracle 10.2.0.1.0

    GokhanAtil wrote:
    oracleRaj wrote:
    Renjith Madhavan wrote:
    It depends on what mode your standby database is in . If you are in managed recovery mode ... then you cannot take export backup . You will have to be in read only mode so that you can take export backup . But production and standby will not be in sync in that time . You will have to apply the redologs after you are done with the exports in manged recovery mode .
    Regards
    Renjith MadhavanOkay it means database is in read only mode then we can take export of schema or full database backup ?You need to use "Network export". Data Pump Export cannot run locally on a read-only instance because the job requires write operations on the instance. Please read:
    http://www.oracle.com/technetwork/issue-archive/2009/09-jul/datapump11g2009-quickstart-128718.pdf
    Best Regards,
    Gokhan
    If this question is answered, please mark appropriate posts as correct/helpful and the thread as closed. ThanksOKay, but traditional export utility will work on standby database ?
    Regards,

  • Redolog in standby

    Hi Chaps
    I know that the redologs are not being used in physical standby database.
    So why do I see "CLEARING_CURRENT" or "CLEARING" in their status? and their status changes.
    Does that mean that they are used?

    Setting the 'CLEARING' status is done for performance reasons (through commands like RMAN DUPLICATE ... FOR STANDBY) , the online are prepared for a faster switchover/failover. But there are not used until such a switch happens,from documentation:
    Clearing Online Redo Logs
    After creating the standby database, you can clear online redo logs on the standby site to optimize performance by issuing the following statement, where 2 is the number of the log group:
    SQL> ALTER DATABASE CLEAR LOGFILE GROUP 2;
    This statement optimizes failover to the standby database because it is no longer necessary for the Oracle database server to clear the logs before failover. Clearing involves writing zeros to the entire contents of the redo log and then setting a new header to make the redo log look like it was when it was created.
    If you clear the logs manually, the Oracle database server realizes at activation that the logs already have zeros and skips the clearing step. This optimization is important because it can take a long time to write zeros into all of the online logs. If you prefer not to perform this operation during maintenance, the Oracle database server clears the online logs automatically during failover.
    Werner

  • Standby redologs mandatory

    Hi,
    I'm new in data guard feature.
    I did create a physical standby and all works perfect. The archive are shipped and applied.
    I even sometime put the standby in read only mode in the morning and in the evening back in recovery mode.
    I just have some need of a point to clear.
    I don't have any standby redolog and all works fine. This looks then not primordial to have ?
    Is it a livable system like this ? I mean that I plan to use my standby for a read only database to put some workload off the primary (for statistics purpose).
    Working on AIX with Oracle 10.2
    Thanks,

    Let me explain why you always need them even with ASYNC or ARCH transport modes with Maximum Performance. They are mandatory for SYNC otherwise you will not be running in the protection mode that SYNC is for, Maximum Availability or Maximum Protection. And as you know, in Maximum Protection if you do not have them the Primary will not open.
    But that aside, this is why you need them even in Maximum Performance.
    For Performance:
    When your primary database switches online log files, the LNS (or ARCH if you are in 10g and using ARCH transport) has to tell its corresponding RFS process at the standby to close the current sequence and start the next one. If you do not have standby redo log files that RFS process has to make the LNS/ARCH wait until it has created and initialized an archive log of the appropriate size. This can take awhile depending on the size of your online redo log files. If you have standby redo log files then the RFS merely opens one and tells the LNS/ARCH it is ready to receive redo.
    For Protection:
    When redo is being shipped to the standby and written to an SRL, that redo will be there when the Primary fails and you need to protect your data. If that redo is in an archive log then no matter how much was written to the archive log at the standby, it is all (100%) thrown away when the connection to the primary goes away and the RFS exits. So if you wrote 49 or 50MB or 499 or 500MB, all that redo is lost.
    For Concurrency:
    And if you do not care about protection the only reason I can think of why that would be is that the standby is an Active Data Guard standby in a reader farm (where it would be likely that a switchover or failover would not occur). And if it is an Active Data Guard standby (for which you paid money to use) then you would want the data in the standby to be as current with the primary as possible, otherwise why have it? And in that case you would want to use real time apply to get that data available to your readers as fast as possible. You cannot do real time apply without standby redo log files.
    So, no matter what side of the road you walk on, there really is no argument that is valid for not using standby redo log files. Sure the standby will 'work' without them but so will my car without seat belts, doors or lights. But who would drive a car like that when my life depended on it?
    Larry

  • Error while trying to open physical standby database - (DATA GUARD)

    Hi Everyone,
    I have problems in opening the database of the physical standby in read- write mode/ read only mode. I have a primary server which is running on 2 node RAC and the standby on a seperate single server being used as DR. I recently got this server and my aim was to isolate the standby server from primary server and perform few test. As it has never been tested even once.
    Primary Database spec: (2 Node Rac on ASM)
    Oracle Version : 10.2.0.3.0
    O/s : HP-UX B.11.23
    Standby Database spec: (Single Node)
    Oracle Version : 10.2.0.3.0
    O/s: HP-UX db01 B.11.23
    Error:
    alter database recover managed standby database cancel;
    Database altered.
    SQL> alter database open
    2 ;
    alter database open
    ERROR at line 1:
    ORA-16004: backup database requires recovery
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '+DATA/dprod/datafile/system01.dbf'
    Parameters :
    log_archive_dest_2 string SERVICE=PROD1 LGWR ASYNC VALID
    FOR=(ONLINELOGFILES,PRIMARY_
    ROLE) DB_UNIQUE_NAME=PROD
    remote_archive_enable string true
    fal_client string DPROD
    fal_server string PROD1, PROD2
    Steps tried so far:
    Changed log_archive_dest_2 = DEFER on both the primary nodes
    Standby :
    startup nomount
    alter database mount standby database;
    alter database recover managed standby database disconnect;
    alter database recover managed standby database cancel;
    alter database open/readonly (tried both)
    Same error.
    On Primary:
    SQL> select max(sequence#) from v$log_history;
    MAX(SEQUENCE#)
    55702
    on Standby:
    MAX(SEQUENCE#)
    33289
    Primary Database:
    SELECT SEQUENCE#, FIRST_TIME, NEXT_TIME FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;
    SEQUENCE# FIRST_TIME NEXT_TIME
    55700 13-JUN-11 13-JUN-11
    55700 13-JUN-11 13-JUN-11
    55701 13-JUN-11 13-JUN-11
    55701 13-JUN-11 13-JUN-11
    55702 13-JUN-11 13-JUN-11
    60824 rows selected.
    Standby Database:
    SEQUENCE# FIRST_TIME NEXT_TIME
    55698 13-JUN-11 13-JUN-11
    55699 13-JUN-11 13-JUN-11
    55700 13-JUN-11 13-JUN-11
    55701 13-JUN-11 13-JUN-11
    15206 rows selected.
    Additional Information :
    There is a delay of 20 minutes before the logs get applied. which has been intentional set by team.
    Any help will be highly appreciated. Thanks in advance
    Sadiq

    Hi,
    Primary Database:
    select status,checkpoint_count from v$datafile_header;
    STATUS CHECKPOINT_COUNT
    ONLINE 672472065
    ONLINE 672472065
    ONLINE 672472065
    ONLINE 672472065
    ONLINE 672472065
    ONLINE 672472065
    ONLINE 672472065
    ONLINE 672472065
    ONLINE 672472065
    ONLINE 672472065
    ONLINE 672472065
    STATUS CHECKPOINT_COUNT
    ONLINE 672472065
    ONLINE 672472065
    ONLINE 672472065
    ONLINE 672472065
    ONLINE 672472065
    ONLINE 672472065
    ONLINE 59736
    ONLINE 59736
    ONLINE 59736
    ONLINE 59736
    ONLINE 59736
    STATUS CHECKPOINT_COUNT
    ONLINE 57717
    ONLINE 57717
    57 rows selected.
    Standby Database;
    select status,checkpoint_count from v$datafile_header;
    STATUS CHECKPOINT_COUNT
    ONLINE 672445072
    ONLINE 672445072
    ONLINE 672445072
    ONLINE 672445072
    ONLINE 672445072
    ONLINE 672445072
    ONLINE 672445072
    ONLINE 672445071
    ONLINE 672445071
    ONLINE 672445071
    ONLINE 672445071
    STATUS CHECKPOINT_COUNT
    ONLINE 672445071
    ONLINE 672445071
    ONLINE 672445071
    ONLINE 672445071
    ONLINE 672445071
    ONLINE 672445071
    ONLINE 32742
    ONLINE 32742
    ONLINE 32742
    ONLINE 32742
    ONLINE 32742
    STATUS CHECKPOINT_COUNT
    ONLINE 30723
    ONLINE 30723
    57 rows selected.
    Archieve log list :
    Primary database:
    SQL> archive log list
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence 49110
    Next log sequence to archive 49111
    Current log sequence 49111
    Standby Database:
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence 49110
    Next log sequence to archive 0
    Current log sequence 49111
    I tried log switch multiple times in primary database i saw that its getting highlighted in standby database.

Maybe you are looking for

  • How to Purge ONLY multiple STALE instances from the Instances Tab in a sing

    Hi BPEL Gurus, In BPEL Process Manager (Instances Tab), I am able to see all the instances (Active, Completed, Faulted, Aborted and Stale). We are using Oracle's SOA Suite 10.1.3.1 The Instances Tab also gives me an option to filter out different sta

  • Do I need a separate folder "(Catalog Name)-Photoshop" in addition to "thumb5.cache"?

    I have recently added PE12 to a new computer and added then converted converted the old PE6 catalogs to the new computer.  This was apparently successful, as I am able to open each of the "old" catalogs in the "new" system.  However, when I was looki

  • New year, old and slow iMac...Help!

    Hi, It's 2015, but my 2009 iMac seems to be feeling it's age.  I think the problem is "too much junk", but here's a more technical output.  Any expert advice would be greatly appreciated (especially by the rest of my family!) Start time: 13:49:12 01/

  • Withholding tax certificate printing

    Dear All, I have maintained the number ranges for certificate printing. When i run the j1incert the certificate number is not printing on the certificate. Please advise.me on how to solve this error. Regards Keshav

  • Appending two internal tables

    hello friends, I have two internal tables of different structure. i have filled those two internal tables using join statements. But one field is common in both the tables, when i try to append both tables into another new internal table. i cant get