Standby database can't work !!!

hi,
i set up a standby db for my production db .
However, below error occurs while i perform "recovery managed standby database" :
ORA-00283: recovery session canceled due to
errors
ORA-16016: archived log for thread 1
sequence# 436 unavailable
i tried to fix the problem with the following method:
1) apply "alter system archive log current"
on production server;
2) download the log 436 to standby host;
3) recover standby database until the time
generated the log 436;
4) re-apply the command;
BUT, this time it asked for log 437 !!!!!!!!
can anybody help ???
Thanks a lot
stephen

If the standby hasn't work for years, it's not quite possible to sync it with primary. Of course if you have all the archive logs in these years, you could but it's not as efficient and fast as rebuilding it.
Follow the Oracle doc to build a new standby.
http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76995/toc.htm
btw, it's time to plan upgrade your server.

Similar Messages

  • How standby database works

    Hi!!
    I have created standby database (testcat) for primary database (test) using Duplicate Command of RMAN on same server (windows XP) on Oracle 11.2 . I know how to create standby database But i don't know how and when standby database works. I checked init.ora file of standby database it contains all parameters prefixed with *. as follow
    *.db_create_file_dest='F:\app\Administrator\oradata'
    *.db_domain=''
    *.db_recovery_file_dest='F:\app\Administrator\flash_recovery_area'
    *.db_recovery_file_dest_size=10737418240
    *.db_unique_name='testcat'
    *.DB_NAME='test'
    *.control_files="D:\APP\ORACLE\ORADATA\TESTCAT\CONTROLFILE\CONTROL_STAND1.CTL‘'
    While init.ora file of primary database contains entries like
    db_create_file_dest=F:\app\Administrator\oradata
    db_recovery_file_dest=F:\app\Administrator\flash_recovery_area
    db_recovery_file_dest_size=4039114752
    control_files="F:\APP\ADMINISTRATOR\ORADATA\TEST\CONTROLFILE\O1_MF_8TXW6QN0_.CTL"
    So I want to know is
              1. IS  there any difference between  parameter that start with .* and start without .*
              2. Can i set db_create_file_dest parameter in init.ora of standby database to another location.
               3. How redo log will be applied to standby database when I run ALTER DATABASE RECOVER ..... command
              4. where archived log files of standby database will stored?

    1. Fetch Archive Log (FAL) Client :- It requests for archived redo log files from the primary site.
    That means FAL Client is required (should exist) on standby database server. Am i right here?
    FAL Client is Standby database, FAL Client requre archived log from FAL Server (primary, Cascading standby database ) for Gap Resolution.
    2. Fetch Archive Log (FAL) Server:- It requests for archive redo logs from FAL Client (Standby database).That means FAL Server is required (should exist) on primary database server.
    If yes then, why it  is required because FAL Server request for archived redo logs from standby database while on other side standby database can not have redo logs as it runs in READ ONLY Access mode (So no DML and DDL) ?.
    Also primary database will be  always one step ahead in terms of archive logs than standby database and hence there is no need to request for archived logs from stanby. Am i right here?
    Yes you are right. Primary  is newer require archived log from  standby. You asked and answered.
    Regards
    Mahir M. Quluzade

  • Logical Standby databases

    Hi,
    When we say "Logical Standby Databases are logically identical to primary databases although the physical organization and structure of the data can be different." what does it exactly means?
    Does it mean that in logical standby tablespace name, schema name, table name, column names etc can be different and still has the same data as primary?
    Does it mean that we can exclude indexes and constraints as present in primary?
    Only the data should match with primary word by word, value by value?
    I am asking this as i have never worked in a logical standby database but i seriously want to know.
    Please answer.
    Regards,
    SID

    Physical standby differs from logical standby:
    Physical standby schema matches exactly the source database.
    Archived redo logs and FTP'ed directly to the standby database which is always running in "recover" mode. Upon arrival, the archived redo logs are applied directly to the standby database.
    Logical standby is different from physical standby:
    Logical standby database does not have to match the schema structure of the source database.
    Logical standby uses LogMiner techniques to transform the archived redo logs into native DML statements (insert, update, delete). This DML is transported and applied to the standby database.
    Logical standby tables can be open for SQL queries (read only), and all other standby tables can be open for updates.
    Logical standby database can have additional materialized views and indexes added for faster performance.
    Installing Physical standbys offers these benefits:
    An identical physical copy of the primary database
    Disaster recovery and high availability
    High Data protection
    Reduction in primary database workload
    Performance Faster
    Installing Logical standbys offer:
    Simultaneous use for reporting, summations and queries
    Efficient use of standby hardware resources
    Reduction in primary database workload
    Some limitations on the use of certain datatypes

  • Standby database 11g

    Oracle 11.2. I am building standby database as a reporting database.
    Can physical standby database only be open read-only state? My understanding is yes, but I like to confirm it.
    If I want my standby database to be read/write, only logical standby database can make it?
    Thanks for the help
    S.

    Hello again;
    Do you think logical standby read-write feature can create a temp table on the fly?Yes. That should work.
    Another option ( might depend upon the size of your reporting database ) is materialized views.
    On some of the smaller databases this works well, and ALL write options are available. A logical Standby should work but you might think about the maintenance it requires before you decided on a solution.
    Search the Data Guard forum for logical questions might help you decide too.
    Kind of old but
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:898037600346141261
    Worth a look
    http://uhesse.com/2009/06/12/logical-standby-in-noarchivelog-mode/
    http://aprilcsims.wordpress.com/logical-standby-10gr2-open-issues/
    Thanks!
    Best Regards
    mseberg
    Edited by: mseberg on Jul 24, 2012 3:29 PM

  • How to remove logical standby database configuration cleanly

    Hello,
    We are on RHL with 11.2.0.3 DB version. Due to various unknown reasons we would like to recreate logical standby database and for that purpose I would like to cleanly remove/uninstall/drop LOGICAL STANDBY DATABASE from the DATA GUARD configuration we have.
    The DG setup already has 1 PHYSICAL STANDBY DATABASE which is working fine. PRIM,PHYSICAL, and LOGICAL all are on different HOSTS. Could you please guide or suggest us exact MOS Doc id regarding this? I have found one MOS Doc id which is close enough but its steps include removing dg configuration completely which I don't want. Only Logical Standby database needs to be remove cleanly so that it can be installed again properly.
    We are using GRID CONTROL and DATA GUARD BROKER.
    Bundle of thanks in advance.
    Best Regards

    Hello;
    I would review this Oracle note:
    How to remove a Data Guard Configuration from Primary Database (Doc ID 733794.1)
    Best Regards
    mseberg

  • Will logical standby database be replaced by physical standby database?

    Will logical standby database be deprecated or replaced by physical standby database because of Real Time Query?
    As far as I know, because of the emergence of Real Time Query, physiacl standby database is easier to work than logical standby database. There are so many restrictions on using logical standby database.
    Will logical standby database be deprecated in the future?
    Message was edited by:
    frank.qian

    Good question - you are right that with the advent of Real Time Query, physical standby databases can provide the 'reporting database' functionality that you used to have to use a logical standby database for.
    But remember that logical standby databases allow additional schema objects, like materialized views and indexes, that you can't have with a physical standby (for the reasons Hans mentions). For example, you could have a index-light primary database for OLTP style workload, and an index-heavy logical standby, with MVs and dimensions for reporting, DW, etc.
    For this reason I don't expect logical standby will become deprecated.

  • [b]STANDBY DATABASE[/b]

    DEAR PARTICIPANTS
    I am creating a standby database and it works on the same computer in different location.
    but when created control file with
    ALTER DATABASE CREATE STANDBY CONTROLFILE AS '\\TCP/IP\\LOCATION';
    IT SAYS CANNOT CREATE FILE (SKGCRFRE)AND CANNOT OPEN FILE
    AND (OS5) ACCESS DENIED.
    CAN YOU HELP ME OUT ON THIS PROBLEM WHICH MAY BE WINDOWS
    ERROR. I HAVE GIVEN ALL PERMISSIONS TO USER WHICH IS A ADMINISTRATOR ON WINDOWS ON BOTH THE COMPUTERS.
    PLEASE reply on this site or on my email address
    [email protected]

    hi..
    SOLUTION:
    1.Startup the database using:
    STARTUP PFILE=C:\Oracle\Admin\SID\PFile\init.ora
    2.Create standby database controlfile using:
    ALTER DATABASE CREATE STANDBY CONTROLFILE AS 'c:\stbycf.f';
    (If u r Creating on the Same System..ok)

  • Geo-mirrored standby database

    hello everyone,
    i want to configure geo-mirrored standby database. can anybody help me out on this?
    regards,
    manoj

    Sorry that i can4t help you but i4am interested in database mirroring too. I tried to implement it with advanced replication, but this is bullshit and don4t work and is not to admin on a large number of tables with unknown indexes.
    So my question to you is:
    WHAT IS A geo-mirrored standby database?
    Is it a special product?
    greetings

  • Oracle 10 upgrade - Primary & standby database

    Hi Expert,
    I need some information on your project experience. We're currently planning a oracle 10 upgrade. Have a few question:
    1. We're planning to upgrade the primary database first and a week later the standby database. Will the archive log which is sent from primary to standby database will still work? Will the recovery still work?
    2. Is this the right patch to go 10.2.0.4? I'm currently on 4.7 ext 2
    3. Will there be a performance issue known of oracle 10 running on 32-bit machine, since it has the limitation of the memory (3G). Do I need to set AWE option on windows?
    Thanks in advance.

    Hello Sean,
    please let me go more in detail with some of your comments.
    > I actually posted my experience with doing a rolling upgrade of a PHYSICAL standby database.
    This statement is wrong. You can't do a rolling upgrade with a physical standby database. You have to convert the database to a logical standby database .. and then you can perform a rolling upgrade. But if you have done the conversion, it is not a physical anymore.
    This is also described and mentioned in this white paper:
    http://www.oracle.com/technology/deploy/availability/pdf/maa_wp_10gr2_rollingupgradebestpractices.pdf
    Data Guard SQL Apply (logical standby database) is required in order to perform a database rolling upgrade. You can also do a rolling upgrade when starting with a physical standby by temporarily converting the physical standby to a logical standby. If starting with 11g, see the Rolling Database Upgrades for Physical Standby Databases using Transient Logical Standby 11g paper for details on doing a rolling upgrade when starting with a physical standby. If starting with 10g, see MetaLink note 300479.1.
    > It WILL work, and is fairly straight forward.
    In this point you are almost correct, because of a standard SAP system is not using the unsupported data types, etc. (afaik)
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/data_support.htm
    To be honest if a sap basis admin asks such a question, i would not recommend to perform an unsupported way, because i am in doubt about his dataguard know how.
    Regards
    Stefan

  • Dropping log file in standby database

    Please,
    I need a help for the following issue:
    I'm making a technical documentation on various event that occur on dataguard configuraation, right now I drop a redo log group file on primary database, and when I try to drop the equivalent log group file on standby database I got the following error:
    SQL> alter database drop logfile group 3;
    alter database drop logfile group 3
    ERROR at line 1:
    ORA-01156: recovery in progress may need access to files
    this is the current state of the redolog file on standby database.
    SQL> select group#,members,status from v$log;
    GROUP# MEMBERS STATUS
    1 3 CLEARING_CURRENT
    3 3 CLEARING
    2 3 CLEARING
    Eventhough I do the following command on standby I also get an error.
    SQL> ALTER DATABASE CLEAR LOGFILE GROUP 3;
    ALTER DATABASE CLEAR LOGFILE GROUP 3
    ERROR at line 1:
    ORA-01156: recovery in progress may need access to files
    Can someone tell me how to drop on dataguard configuration the redolog file on primary database and their corresponding on standby database
    I'm working on 10 release 2, on Windows
    Thanks you

    Oracle Dataguard Concept and administration release 2,ref b14239: is my source but it doesn't work when trying to drop stanby group or logile member.
    For example, if the primary database has 10 online redo log files and the standby
    database has 2, and then you switch over to the standby database so that it functions
    as the new primary database, the new primary database is forced to archive more
    frequently than the original primary database.
    Consequently, when you add or drop an online redo log file at the primary site, it is
    important that you synchronize the changes in the standby database by following
    these steps:
    1. If Redo Apply is running, you must cancel Redo Apply before you can change the
    log files.
    2. If the STANDBY_FILE_MANAGEMENT initialization parameter is set to AUTO,
    change the value to MANUAL.
    3. Add or drop an online redo log file:
    ■ To add an online redo log file, use a SQL statement such as this:
    SQL> ALTER DATABASE ADD LOGFILE '/disk1/oracle/oradata/payroll/prmy3.log'
    SIZE 100M;
    ■ To drop an online redo log file, use a SQL statement such as this:
    SQL> ALTER DATABASE DROP LOGFILE '/disk1/oracle/oradata/payroll/prmy3.log';
    4. Repeat the statement you used in Step 3 on each standby database.
    5. Restore the STANDBY_FILE_MANAGEMENT initialization parameter and the Redo Apply options to their original states.
    Thank

  • Creating standby database and replication of primary database in 9i

    Hi,
    We have a 9i database on Windows Server.Now recently we are planning to replicate the primary database to standby database once after creating the standby database.Can anyone guide me with the procedure or documentation with this . We were asked to do this without the data guard set-up. Please do help me regarding this ASAP.
    Regards,

    specifiying ASAP isnt a way to get people to help on a volunteer forum.
    If you dont have dataguard You need to search for "manual standby apply".
    lots and lots and lots of google hits for you but this is the official cookbook
    http://docs.oracle.com/cd/B10500_01/server.920/a96653/manual_recovery.htm

  • RE logical/physical standby database

    1. Why logical standby database is SQL apply, and Physical standby database is redo apply? What ‘s the meaning/objective for that? (pls don’t tell me what is SQL/redo apply)
    2. As we know, a logical standby database can be used for reporting and querying if primary database is down, why we still need a physical standby database (it can’t do that during recovering process, it just a same copy of primary database)? Why not just go ahead to set up only a perfect logical standby database? (just because logical one can’t accommodate all kinds of data type???)
    3. Combined with Real time Apply and maximum protection, we can achieve a zero data loss, but could we achieve a zero downtime? Why or why not?

    Go Through Below link
    >>>Can you convert a Logical standby to a Physical Standby?

  • How to make a physical standby database in the read_only state in 11g?

    In 10g, we can make a physical standby database in the read_only state. But in 11g, no a read_only state for a physical standby database. How to make a physical standby database in the read_only state in 11g?

    Hi
    read-only mode (for 11g physical standby)
    A mode in which a database can be opened that allows queries, but disallows modifications.
    A physical standby database can be opened read-only so that queries may be performed. If a license for the Oracle Active Data Guard option has been purchased, a physical satndby database can be open while redo apply is active. This capability is known as Real-time Query.
    For more details have a look at:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/manage_ps.htm#SBYDB00706
    Hipe this Helps
    Regards

  • More than One Physical Standby Database

    Hi All!
    Is it possible to have more than one physical standby database? Does the procedure on how to create a single physical standby is the same as creating more than one? How about the configuration of the Primary database? Im planning this because I want the other physical standby to be used for read only access for our testing environment.
    Please enlighten me.
    Regards,
    cmadiam

    Think about it.
    Q. What's the crux of Dataguard setup?
    A. Redo transfer from primary to standby
    Q.Which is the parameter you use to direct the redo transfer
    A. LOG_ARCHIVE_DEST_n
    Q. How many LOG_ARCHIVE_DEST_n parameters can be set?
    A. 10; LOG_ARCHIVE_DEST_1 to LOG_ARCHIVE_DEST_10
    Of the 10 LOG_ARCHIVE_DEST_n, one of them should be LOCAL destination, which means you can have 9 other REMOTE destinations ~~ 9 standby database. Physical or logical or mix of both.
    Cheers.
    Note: Each of the 9 standby database can cascade redo transfer to 9 other cascaded standby databases. WOW! now you do the math.

  • Standby database issue

    Hi All,
    My Oracle database version is Oracle9i Enterprise Edition Release 9.2.0.8.1 in windows.
    My client want to do some verfication on DR database. Users will connect to their application and they should be able to view the DR transaction.Generally our transaction logs come to Production to DR in moring. So they must view all the transaction comes in production to the DR.
    phase 2 will be the user submitting the transaction.
    overall procedure is :-
    1. DBA set the DR in read only mode.
    2. User config needs to be changed to point to DR Databse
    3. User run the appln to view the transaction.
    In this case,we are not going to shutdown the production database.
    Now my question is how do I start and what steps do i need to follow? Do i need to disable dataguard from production and open the DR database in read only mode?
    Thanks,
    Meena

    Hello,
    If the users need to view the transaction reports on the standby database, then yes, it needs to be opened in Read Only mode.
    But, when you open your standby database in read only mode, there would not be any recovery in progress on the standby (no Active Dataguard option for the version you are using).
    1. Cancel the MRP on the standby database
    SQL>alter database recover managed standby database cancel;
    2. Open the standby database in read only mode
    SQL>alter database open read only;You can later ask the users to connect to the standby database by providing them its TNS entries. The standby database can be used only for reporting purpose (select operations) when you have opened it with read only option.
    Regards,
    Shivananda

Maybe you are looking for