Physical Standby with ORA-19809 and ORA-19804

My 10.2.0.3 physical standby produced the below errors, although it remained up. I am wondering if I ran into Bug 6432837, except “select FLASHBACK_ON from V$DATABASE” returns “NO”. I was able to increase the size of DB_RECOVERY_FILE_DEST_SIZE to get around it. However, I fear I have only prolonged the problem, since I have not a viable work around. I’m using the Grid Control to administer both Primary and Standby. It doesn’t seem to allow me to back up the standby, nor do I know how to crosscheck archive logs.
Ideas? Suggestions?
You have following choices to free up space from flash recovery area:
1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
then consider changing RMAN ARCHIVELOG DELETION POLICY.
2. Back up files to tertiary device such as tape using RMAN
BACKUP RECOVERY AREA command.
3. Add disk space and increase db_recovery_file_dest_size parameter to
reflect the new space.
4. Delete unnecessary files using RMAN DELETE command. If an operating
system command was used to delete files, then use RMAN CROSSCHECK and
DELETE EXPIRED commands.
****Creating archive destination file : /u06/archive/PROD/PROD1/archivelog/2008_12_05/o1_mf_1_110223_1_.arc (10244 blocks)
Fri Dec 5 17:49:04 2008
Errors in file /u01/app/oracle/product/10.2.0/admin/PROD/udump/prod_rfs_21541.trc:
ORA-00270: error creating archive log /u06/archive/PROD/PROD1/archivelog/2008_12_05/o1_mf_1_110223_%u_.arc
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 5244928 bytes disk space from 40531656704 limit
Fri Dec 5 17:49:04 2008
Errors in file /u01/app/oracle/product/10.2.0/admin/PROD/udump/prod_rfs_21541.trc:
ORA-00270: error creating archive log /u06/archive/PROD/PROD1/archivelog/2008_12_05/o1_mf_1_110223_%u_.arc
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 5244928 bytes disk space from 40531656704 limit
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[253|http://forums.oracle.com/forums/]: Assigned to RFS process 21543
RFS[253|http://forums.oracle.com/forums/]: Identified database type as 'physical standby'
Fri Dec 5 17:49:07 2008
Errors in file /u01/appORA-19815: WARNING: db_recovery_file_dest_size of 40531656704 bytes is 99.99% used, and has 5241344 remaining bytes available.
SQL> select * from v$flash_recovery_area_usage;
FILE_TYPE PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
CONTROLFILE 0 0 0
ONLINELOG 0 0 0
ARCHIVELOG 100 0 7340
BACKUPPIECE 0 0 0
IMAGECOPY 0 0 0
FLASHBACKLOG 0 0 0
6 rows selected.
SQL> select * from v$recovery_file_dest;
NAME
SPACE_LIMIT SPACE_USED SPACE_RECLAIMABLE NUMBER_OF_FILES
/u06/archive/PROD
4.0532E+10 4.0531E+10 5241344 7340

ARCHIVELOG 100 0 7340Your FRA on the standby side is full - with archivelogs. Archivelogs transferred to the standby are not removed automatically,yourself have to take care of this. As soon as the archives are applied to the standby you can delete them (assuming you do appropriate backups on the primary side). Nevertheless you may take an additional backup on the standby:
backup archivelog all delete all input;
delete obsolete noprompt;
If retention policy is set to redundancy 1 (the default), a backup of the archivelogs is made,the backed up archivelogs are deleted and then the previous backup of older archivelogs is also deleted.
So you should no longer run out of space.
Werner

Similar Messages

  • Goldengate from physical standby with Active data guard or from logical standby - which is better?

    Hi,
    We have Oracle 11.2.0.4 and are currently using Active Data Guard on a physical standby. My boss wants me to use Goldengate
    to replicate several schema from Oracle to SqlSserver. She doesn't want to touch the Primary, which is in production. Would it be better
    to setup a Logical standby for Goldendate to use, in addition to the Physical standby? Or will it be sufficient to use the Physical standby?
    The application tables don't all have primary keys. I'm trying to decide if the Logical standby adds another layer of complexity or would
    introduce delays in getting the data from Oracle to Sqlserver.
    Thanks in advance,

    Hi,
    In this case I recommend you to use physical standby + Golden gate with ALO mode. You might have sligthly more trouble in logical standby. it means you might have more trouble at Goldengate's extract side.
    You said
    The application tables don't all have primary keys.
    so you have to add keycols on replicat side.
    I recommend you to add an index which should consist of keycols columns. it will be necessary for replicat performance.
    Best Regards

  • Physical standby with rman: location of redo logs

    guys,
    i use simple rman commands to create a physical standby database (i've attached the commands below). the problem is that on the physical standby, the location of the redo logs and standby redo logs differ from the primary.
    (we use redo logs and standby redo logs as we are running in max. availability mode and want to be prepared for switchover/failover).
    how do i backup/restore the database in a way that the redo logs are at the same place than on the primary database?
    thanks for your help,
    heri
    backup on primary:
    backup incremental level = 0 format '/tmp/transfer/td_%s_%p.bck' database;
    restore on standby:
    duplicate target database for standby NOFILENAMECHECK;

    Ogan,
    thanks alot for your reply. I was not using the log_file_name_convert parameter as i am not aware how to use it in this scenario. the log files on the standby are generated randomly.
    on the primary the log files are as follows:
    /home/oracle/app/oracle/oradata/td/redo01.log
    /home/oracle/app/oracle/oradata/td/redo02.log
    /home/oracle/app/oracle/oradata/td/redo03.log
    /home/oracle/app/oracle/oradata/td/standby_redo01.log
    /home/oracle/app/oracle/oradata/td/standby_redo02.log
    /home/oracle/app/oracle/oradata/td/standby_redo03.log
    on the standby the logs look like:
    /home/oracle/app/oracle/product/11.2.0/dbhome/dbs/TDSTBY/onlinelog/o1_mf_1_6b1f9mvc_.log
    /home/oracle/app/oracle/product/11.2.0/dbhome/dbs/TDSTBY/onlinelog/o1_mf_2_6b1f9p36_.log
    /home/oracle/app/oracle/product/11.2.0/dbhome/dbs/TDSTBY/onlinelog/o1_mf_3_6b1f9rdj_.log
    /home/oracle/app/oracle/product/11.2.0/dbhome/dbs/TDSTBY/onlinelog/o1_mf_4_6b1f9v8r_.log
    /home/oracle/app/oracle/product/11.2.0/dbhome/dbs/TDSTBY/onlinelog/o1_mf_5_6b1f9xms_.log
    /home/oracle/app/oracle/product/11.2.0/dbhome/dbs/TDSTBY/onlinelog/o1_mf_6_6b1f9zxv_.log
    the filenames on the standby are not predictable for me in any way, so how would i use log_file_name_convert?
    thanks alot for your help!

  • Data guard synchronization after link down b/w primary and physical standby

    Hi All,
    I have configured data guard on oracle 11gr2 db. Normally switchover between my primary and physical standby happens smoothly and the Apply lag would be zero. Recently We had to test a scenario when the network link between Primary and Physical standby is completely down and Physical standby is isolated completely for more than half an hour.
    When we brought up the link every thing worked smoothly but apply lag started increasing from 0 to around 3 hrs. And then it started reducing to 0. Currently Apply lag and transport lag shows 0.
    But is this normal behaviour of oracle data guard that when the link between primary and physical standby is completely down, It requires 3-4 hrs for resynchronization ??? Even when during isolation, there were very few transactions happend on primary database ??
    Are there any documents available for this scenario??
    Thanks

    Hi, after the link is up, if there were some transactions and produced archive logs it's normal to take some time for resync. To check if 3-4 hours is normal or not, you can repeat the scenario and this time check
    - how many archivelogs does primary produce in this period.
    - after the link is up, does archivelog transfer immediately starts from primary to standby? Is primary able to send these archivelogs parallel?
    - Is there anything wrong with the apply process?
    check primary & standby alert log files, and run this query on standby to check the transport and apply processes:
    SELECT PROCESS, STATUS, THREAD#, SEQUENCE#, BLOCK#, BLOCKS FROM V$MANAGED_STANDBY;
    regards

  • Time zone difference between primary and physical standby

    Dear Team,
    We have Primary database server (with EST Time zone) and physical standby (with PST time zone), in case of switch over/fail over to physical standby
    what are the major impacts.
    Is it mandatory to be in time sync?
    Thanks in advance
    Aj

    CURRENT_TIMESTAMP
    04-FEB-10 10.22.20.444692 AM +05:30
    ( above is same on primary and standby)
    SQL> select systimestamp from dual;
    SYSTIMESTAMP
    03-FEB-10 08.52.46.934125 PM -08:00
    (above is 3hr diff from primary and standby)It is 13hrs difference
    One is around Indian subcontinent and other should be in US western region ?
    Systimestamp is the timestamp of the OS of the server and hence the difference and the sysdate value will be from systimestamp and if the applications uses SYSDATE then there can be an issue...

  • Physical Standby DB with EBS

    Dear all,
    Had any configured physical standby with EBS 11.5.10.2.. if so, in application side what
    are all the directories you are synchronising ?... What could be the reason that concurrent
    manager failed to start after failover in standby DB ?
    Thanks
    Yusuf

    dir's alone.. what to do when applying a patch, ?..Applying patches is a different story, just follow the steps outlined in the following note for more details (Section 4: Applying an Applications Patch):
    Note: 216212.1 - Business Continuity for Oracle Applications Release 11i, Database Releases 9i and 10g
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=216212.1
    Con.manager doesnt start as the targte and actual
    process are 0 and there ae requests pending. I tried
    restarting con.managers also.. and in the node names,
    some of the node columns are filled with the node
    name and others are empty.. You need to complete the configuration of the new primary database. Connect to the new primary database using SQL*Plus as user APPS, and execute the following commands:
    SQL> exec fnd_net_services.remove_system('<SID>');
    SQL> commit;As the oracle user on the new primary database server, use AutoConfig to complete configuration for production operations:
    $ cd $ORACLE_HOME/appsutil/scripts/<Context Name>
    $ adautocfg.shOnce you start the listener after running AutoConfig, log in to each now-primary middle tier server as the applmgr user and run the following:
    $ cd $COMMON_TOP/admin/scripts/<Context Name>
    $ adautocfg.sh

  • Cancelling recovery on Physical standby.

    Hi ALL,
    recovery is cancel and i am looking following error in alert log file
    how can solve this problem
    database version 11gr2
    aix 6.1 64 bit
    physical standby datbase
    ORA-03170: deadlocked on readable physical standby (undo segment 65535)
    Tue Jun 05 12:25:27 2012
    Errors in file /u01/oracle/diag/rdbms/sfxdb/sfxdb1/trace/sfxdb1_pmon_14614728.t
    c:
    ORA-03170: deadlocked on readable physical standby (undo segment 65535)
    Tue Jun 05 12:25:47 2012
    Errors in file /u01/oracle/diag/rdbms/sfxdb/sfxdb1/trace/sfxdb1_pmon_14614728.t
    c:
    ORA-03170: deadlocked on readable physical standby (undo segment 65535)

    ORA-03170: deadlocked on readable physical standby (undo segment 65535)
    Tue Jun 05 12:25:27 2012
    Errors in file /u01/oracle/diag/rdbms/sfxdb/sfxdb1/trace/sfxdb1_pmon_14614728.t
    c:
    ORA-03170: deadlocked on readable physical standby (undo segment 65535)
    Tue Jun 05 12:25:47 2012
    Errors in file /u01/oracle/diag/rdbms/sfxdb/sfxdb1/trace/sfxdb1_pmon_14614728.t
    c:
    ORA-03170: deadlocked on readable physical standby (undo segment 65535)You cancelled recovery or it is terminated?
    Try to start once again, I have seen some listed bugs with the same error but those are applicable for 11gR1, but you are in 11gR2.
    Refer ORA-03170: Deadlocked on Readable Physical Standby [ID 846324.1], better you submit an SR to Support.
    Thanks.

  • Steps to create the standby with Hot Backup........?????

    Hi All
    I am planning to create the Physical standby with Hot backup ....
    Can anyboby give me the link/steps which explains how to do this?
    Thanks
    Gagan

    To copy the file from the primary, you can use RMAN, or manual hot backup copy with begin backup and end backup mode.
    You can read the doc about creation of standby database :
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ps.htm#i70835
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14239/scenarios.htm#i1032302
    Nicolas.

  • How to change the database character set on physical standby database?

    Hi,
    We have a database with character set WE8ISO8859P1 and migrated the character set to WE8MSWIN1252 using csscan/csalter scripts. This database has a physical standby database setup also and after the migration, the physical standby database is still showing the character set as WE8ISO8859P1. How can I change the characterset on the physical standby? I raised a Service Request with Oracle, and they said that recreating the standby database is the only supported way of changing the char set on the standby database. Is this true?
    Thanks,
    Sreekanth

    Thank you, Robert, for your reply.
    The standby is in sync with the primary.
    see below
    SYS@sisprod>select * from v$dataguard_stats;
    NAME VALUE UNIT TIME_COMPUTED
    apply finish time +00 00:00:00.0 day(2) to second(1) interval 12-NOV-2009 14:02:46
    apply lag +00 00:00:00 day(2) to second(0) interval 12-NOV-2009 14:02:46
    estimated startup time 11 second 12-NOV-2009 14:02:46
    standby has been open N 12-NOV-2009 14:02:46
    transport lag +00 00:00:00 day(2) to second(0) interval 12-NOV-2009 14:02:46
    SYS@sisprod>
    I am selecting from v$nls_parameters;
    I don't know how to restore the controlfile from primary. Could you please tell me how to do it?
    Thanks,
    Sreekanth

  • Test physical standby database in dataguard

    Hi all,
    I had a successfull dataguard implementation for oracle 9r2.
    Primary and standby databases are on different nodes, logs from primay are shipping and applying to physical standby database successfully.
    As these database are for oracle 11i ebs, so for testing dataguard status i had created a table manually having columns date and remarks. Periodically i insert few records in this table in primary database and then chek this tabel in standby database (by opening in read only mode).
    Now i want to test physical standby database with applications tier  but don't want to disturb origional primary database.
    as these are the normal switchover steps
    1) at primary db
    ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL STANDBY WITH SESSION SHUTDOWN;
    2) at standby
    ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY;
    3) at primary, now this will be the stand by database
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    4) at standby, now this will be the primary database
    SHUTDOWN IMMEDIATE;
    STARTUP
    My concern is if i skip step 1 and 3 and only execute step 2 and 4, will that be applicable for my requirement, or there is some other way to achieve this goal.
    Regards,
    Ken

    To avoid touching the primary production DB, you may try to use the following command on your standby database side:
    alter database activate standby database;
    This will turn your standby database to primary database, however the log will be reset and this means you will need to rebuild your DR.
    Another way is to use flash back feature on your standby database, activate it and revert back to the flashback point when the DR testing is done.

  • Data Guard Physical Standby Failover

    I need clarification on Physical Standby Failovers. Say I have a Primary db (A) and a physical standby (B), (A) fails and (B) is now the primary, can (A) be setup to become a standby of (B)? I've read 2 different statements in Oracle 10g Data Guard Concepts and Admin
    "During failovers involving a physical standby database: In all cases, after a failover, the original primary database can no longer participate in the Data Guard configuration."
    vice
    "After a fast-start failover occurs, the old primary database will automatically reconfigure itself as a new standby database upon reconnection to the configuration."
    Much thanks.

    In all cases, after a failover, the original primary database can no longer participate in the Data Guard configuration.
    TRUE ! But this doesn't mean that you cannot make your failed primary a new standby database !.
    You can achieve this using FLASHBACK DATABASE option:
    From the documentation:
    After a failover occurs, the original primary database can no longer participate in the Data Guard configuration until it is repaired and established as a standby database in the new configuration. To do this, you can use the Flashback Database feature to recover the failed primary database to a point in time before the failover occurred, and then convert it into a physical or logical standby database in the new configuration.
    Read the following documents:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/role_management.htm#sthref995
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/scenarios.htm#i1049997
    In addition to this I'd like to mention that you can achieve the same with doing an incomplete recovery instead of using FLASHBACK DATABASE.
    "After a fast-start failover occurs, the old primary database will automatically reconfigure itself as a new standby database upon reconnection to the configuration."
    TRUE. If you enable Fast-Start Failover:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14230/sofo.htm#CHDDFFEC
    Cheers!

  • Standby with oracle apps

    Dear all,
    11.5.10.2 with DB 10.2.0.3
    We have configured Physical standby with the above. We need to apply some patches on production , the database will be automatically synchronized with the DR, but how we can handle the applciation tier in DR ? How to make it synchronized ?
    Kai

    Thanks all,
    I found the below output in the note      
         Document TitleBusiness Continuity for Oracle Applications Release 11i, Database Releases 9i and 10g (Doc ID 216212.1)
    Section 4: Applying an Applications Patch
    Does anyone have any other input?
    Kai
    Edited by: KaiS on Nov 15, 2011 10:27 AM

  • Reg upgrade of Physical Standby from 9i -10g

    hi guys,I'm planning to upgrade my database from 9i 9.2.0.7-10g 10.2.0.3...along with Physical Standby Site....
    I got a link for Dataguard upgrade
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/upgrades.htm
    what I conluded from this links is...Just writing the high level steps
    -Apply all the Archive logs on Standby
    -install the Oracle Software on Primary Standby
    -Upgrade the Primary
    -Start the Standby with password file and spfile from the new home..and set the FAL parameters
    I might be missing some steps here
    but
    I just wanted to make sure we actually dont upgrade the Standby as we do with Primary just installing the 10g software on Standby as well and starting the instance with spfile from 10g home with same set of datafies....is considered to be the upgrade.......of Standby database????????looks too simple
    Thanx
    Gagan

    You could certainly reinstall Apex to make sure that Apex-related packages and procedures are re-granted properly, but that still won't solve the other cases where specific non-Apex-related packages were granted but became "ungranted" after the upgrade. I'm not involved with DB upgrades myself, so the whole procedure is a bit "black box" to me, so I don't know if packages that were granted become revoked on an upgrade. Talk to you DBA about the DB upgrade and find out what packages were granted by default.
    but we may get other errors down the line because of other privileges that are still missing...Probably, and depending on the exact 10g version you installed, there are other DB bugs that will mess with Apex. Was this upgrade done on a test instance first or just production? In either case, run through all your applications and see if anything else breaks. If possible (and appropriate) notify your users that an upgrade occurred and that you've tried to resolve any problems but some might be hiding out there. It's not bad to be cautious--we tend to run things the other way and upgrade overnight, do a few checks to see that nothing is 100% broken and come in the next morning to all kinds of fun errors the users found.

  • Physical Standby re-sync

    Hi,
    I have gone through the following link in order to re-sync my physical standby with the primary db . The physical standby had nearly 2500 archive log gap but resolved based on below link :
    http://www.bestremotedba.com/oracle-10g-dataguard-sync-standby-database/
    The above is valid only for 10gr2 or above but in Oracle 10gr1(10.1.0) i am not able to take the primary db backup based on SCN . Could anyone let me know whether there is any alternative for it? I know 10gr1 is outdated but we have already planned for upgrade in near future but for current situation I have to re-sync my standby with the primary and the standby has nearly 2000 archive log to be applied . We dont have enough space for restoration of archivelogs. It was unfortunate that I have not monitored the standby.
    Oracle DB version : 10.1.0.3
    OS version : Windows 2003 server
    Regards,
    imran khan

    I have gone through the following link in order to re-sync my physical standby with the primary db . The physical standby had nearly 2500 archive log gap but resolved based on below link :
    http://www.bestremotedba.com/oracle-10g-dataguard-sync-standby-database/
    The above is valid only for 10gr2 or above but in Oracle 10gr1(10.1.0) i am not able to take the primary db backup based on SCN . Could anyone let me know whether there is any alternative for it? I know 10gr1 is outdated but we have already planned for upgrade in near future but for current situation I have to re-sync my standby with the primary and the standby has nearly 2000 archive log to be applied . We dont have enough space for restoration of archivelogs. It was unfortunate that I have not monitored the standby.
    Oracle DB version : 10.1.0.3
    OS version : Windows 2003 serverFurther dataguard/standby related questions, please post here Oracle Discussion Forums » High Availability » Data Guard
    As you said this feature is available starting from *10gR2* only
    AFAIK, you have to either restore those archives (or) re-create standby database.
    If you do not have much space, try to restore less number of archives, apply them later you can clean up & again start restore. its hectic.
    So it depends on your log file size , lets suppose 50mb then
    2000 * 50mb = 100000 mb(~100gb) , its painful, Check what is database size. Then compare which will be quicker.
    HTH.

  • Problem in switchover to physical standby database

    Hi All,
    I am doing switchover from primary to physical standby database. Physical standby is in 'managed recovery' mode using real time apply and is in mount mode. I executed alter database commit to switchover to physical standby with session shutdown command. Now i am waiting for standby mrp to exit after processing eor record, but it seems mrp was hanged.
    Below is the content from standby database:
    Recovery of Online Redo Log: Thread 1 Group 5 Seq 620 Reading mem 0
    Mem# 0: /oracle/app/oracle/dbrac/th1-redo5a.log
    Resetting standby activation ID 749049115 (0x2ca5951b)
    Media Recovery End-Of-Redo indicator encountered
    Media Recovery Continuing
    Media Recovery Waiting for thread 1 sequence 621
    Archived Log entry 14 added for thread 1 sequence 620 ID 0x2ca5951b dest 1:
    Need some help to resolve.
    Thanks
    Sandy.

    Hello;
    After after you issue ( successfully ) a :
    alter database commit to switchover to physical standby with session shutdownYou need to :
    Shutdown the former primary and mount as a standby databaseCheck out my step by step :
    http://www.visi.com/~mseberg/data_guard/Data_Guard_switchover.html
    Read everything ( all the steps ) before you proceed.
    Best Regards
    mseberg

Maybe you are looking for

  • Full path from Alias in Automation plugin

    I have an automation plugin that watches for Save events and performs some processing in CS4. When I do a "Save As", I've noticed that under some conditions, I can't resolve the alias in the PIActionDescriptor to a file path. Instead it resolves to t

  • Garageband Loop Download Problem

    I'm using GB 4.1, and when I go to select a loop, a dialog box pops up and asks if I want to install the complete set of loops at 1.2 GB, and gives me three options: Download Now, Download Later, or Install from DVD. If I select Download Now, Softwar

  • Downloading from macbook pro to ipad

    Hi Can anyone tell me how I can download my office/word programme from my macbookpro to my ipad.

  • ASo to BSO formula

    Hi All IS it right calc script for bso is it right conversion ASo to BSO but its giving problem ASO=SUM({[2009.Q1].Children,[2009.Q2].Children}) BSO@SUM(@children("2009.Q1" and "2009.Q2"));

  • Print Credit for returns Document through My report

    Hi, I have a credit note / debit note print zreport. This report is picking data from BKPF, BSEG tables. Also report are using logical data DD - Customer Debit Note number like 500368 and DG - Customer Credit Note Number like 100506, that is printing