Standby Database in 10G

Hello all,
I have to build a physical standby environment on oracle 10g database. I have done this with oracle 9i. i have never done in 10g.
so is there any deference in both or both installtion are just same ?
Thanks in advance!!
Pankaj

It's pretty much the same. However, if you refer to the 9iDG and the 10gDG setup examples, I noticed a few differences in the way the init parameters are used.

Similar Messages

  • Logical Standby Database with 10g+ASM on both sides??

    Hi out there,
    is there a known way to establish a logical standby database on 10g, if both
    sides are running with an ASM setup?
    I've tried to create one out of a physical standby database (which is set up
    and running w/o any problems), like a book suggested me to do.
    The procedure was:
    1. switch on supplemental logging
    2. prepare initiation parameters (for archive logging etc.) on both sides for
    logical stb.
    3. shut down the phyiscal standby
    4. alter database create logical standby controlfile as '<path>'; on the
    primary, transfer the controlfile to the standby db. Here I had to use RMAN
    to copy the controlfile into the ASM System, and modify the initfile/spfile
    in order to use the controlfile. No problem so far.
    5. mount the standby database, alter database recover managed standby database
    disconnect; -> At this point, the alert log complained about non-available
    datafiles.
    6. alter database activate standby database; --> fails ("needs recovery") due
    to last point.
    The trouble is, the controlfile created at point 4 cointains wrong paths to
    the datafiles. Since I can not have the same disk group name on the standby
    system, and since ASM renames the stored datafiles by its own, the complaints
    of point 5 are comprehensible, but nevertheless annoying.
    I tried to backup a controlfile to trace and change the paths, but at after
    mounting the standby with this controlfile and proceeding at point 5, the
    system says "<path> is not a standby controlfile"
    Is there a different way of creating a "Logical Standby Database with 10g+ASM
    on both sides"? Metalink said nothing about LogStby and ASM.
    Best regards and thanks in advance,
    Martin

    I'm not sure if this will work but try:
    1. create trace control file (you did it)
    2. change paths (you did it)
    3. recrate control file (you did it)
    ... there was error occured during mount before
    so mount database (not as standby)
    4. create standby control file (from recreated control file)
    5. shutdown instance, replace control file with new standby control file or replace the control filename in parameter file.
    6. mount as standby
    What happend?
    Update: Tested on my side and it has worked fine... How about you?
    Message was edited by:
    Ivan Kartik

  • Physical Standby database Oracle 10g Standard Edition

    Hello,
    I open a new question about testing a standby database a because of this:
    I realize that my standby database is 10g Standard and not Enterprise and not 11g.
    Because for testing we plan to modify data on Standby, we are looking for some way to restore Standby to the point before testing.
    So, I can't use Flashback Recovery Area for restoring my database to a certain point after testing.
    In this scenario, the only way that I think is:
    On Standby
    - Shutdown database
    - Copy by O/S all datafiles, temp files, control files and redo logs. That will be my backup before testing.
    - Open database, test and modify data
    - When test is finished, shutdown database
    - Copy and replace by O/S all datafiles, temp files, control files and redo logs from backup place
    - Open database as standby and apply all archived redo logs needed.
    Would be it work without problem or should I copy other files?

    user521219 wrote:
    Hello,
    I open a new question about testing a standby database a because of this:
    I realize that my standby database is 10g Standard and not Enterprise and not 11g.
    Because for testing we plan to modify data on Standby, we are looking for some way to restore Standby to the point before testing.
    So, I can't use Flashback Recovery Area for restoring my database to a certain point after testing.
    In this scenario, the only way that I think is:
    On Standby
    - Shutdown database
    - Copy by O/S all datafiles, temp files, control files and redo logs. That will be my backup before testing.
    - Open database, test and modify data
    - When test is finished, shutdown database
    - Copy and replace by O/S all datafiles, temp files, control files and redo logs from backup place
    - Open database as standby and apply all archived redo logs needed.
    Would be it work without problem or should I copy other files?yes, It will work.
    it comes under Refresh of database, use --> cleanup --> restore.
    If its enterprise edition , you can use procedure mentioned in this note How To Open Physical Standby For Read Write Testing and Flashback [ID 805438.1]
    Edited by: CKPT on Jul 5, 2012 11:01 PM

  • Upgrade PHYSICAL STANDBY database to 10g from 9i

    Hello everybody,
    Please can you provide me the details for Manual upgrading 9i STANDBY database to 10g. Any special parameters that we have to set on the Primary database..
    Any sites with the information available would be great.
    Thanks everybody for your help.

    There is no in-place upgrade process to move from 9i to 10g. You have to upgrade your primary and then reinstantiate your standby (using Oracle10g). You may like to keep your 9i standby in tact until your upgrade of 9i primary to 10g is completely successful.....just to ensure that you have a fast, easy and reliable fall-back plan.
    Thanks
    Chandra

  • Standby Database in 10g Standard One

    Hello Everyone,
    I need to do a standby database using Oracle Database 10g Standard One.
    Do you know how can I do it, step by step??
    Thanks

    Standby or so called dataguard after 9i is not availible in standard edition nor standard one.

  • Configuring DG's Standby database in 10g Grid Control monitoring.

    Hi.
    I am facing issues to configure "for monitoring" the standby instance of a 10g database. If someone on this forum have experience, please share, will be greatly appreciated.
    Thanks
    /SKH

    FYI we have a tar open on this "standby databases not monitored correctly" ie grid is trying to collect metric from a sb db when it can not b/c its only mounted. The fix will be in 10.2.0.4. We are pushing for a back port to 10.2.0.3 b/c we missed a corruption in our sb db b/c we could not monitor the values and apply different templates.

  • Reaction at Standby Database in 10g for alter , addtion, deletion tablespac

    Deal All,
    I want to know that what will be reaction on standby database (10g) if i alter , add , delete tablespace or datafile at primary database.

    depends on the parameter STANDBY_FILE_MANAGEMENT . please check
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14239/manage_ps.htm#i1010428

  • CONFIGURE STANDBY DATABASE IN 10G

    hi experts,
                  Need help for configuring standby database in Oracle 10g/Windows.

    Hi Sumeesh,
    Please refer the below mentioned link for configuring data guard.
    http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10823/create_ps.htm
    Below mentioned are the sequence of stpes, which needs to be followed for setting up data guard.
    3.1     Configuring the Primary Database     
    3.1.1     Enable archiving and define a local archiving destination     
    3.1.2     Create a password file     
    3.1.3     Configuring the Oracle networking files     
    3.1.4     Set initialization parameters on the primary database     
    3.1.5     Take Offline/Online backup of the primary database     
    3.1.6     Create a control file for the standby database     
    3.1.7     Prepare initialization parameter file for the standby database and start the primary database with the changed pfile.     
    3.1.8     Copy all files from the primary host to the standby host     
    3.2     Configuring the Standby Database     
    3.2.1     Configuring the Oracle networking files     
    3.2.2     Create a INIT parameter file for the standby database     
    3.2.3     Copy the standby controlfile to the appropriate location     
    3.2.4     Create Oracle Password File     
    3.2.5     Start the physical standby database     
    3.2.6     Initiate log apply services
    Regards,
    Ranjith

  • Impact of force_logging on standby database in 10g?

    Hi there,
    We have a 10.2.0.5 database from which we want to setup a standby database...
    We took a hot backup of the primary and send it to the standby server but at that time we realized that force logging is not enabled at the Primary before we took the hot backup!
    Can you please suggest what are our options at this stage without losing any data and without a need to redo the hot backup again since it is a huge database?
    - If we turn the force_logging on now(on Primary) and then set up the standby using the backup taken prior to force_logging ON - would it cause any issues?
    Any help would be greatly appreciated.
    Thanks.

    No it won't because the hot backup is a copy period. So do it ASAP and the Archive will handle the rest.
    So your hot backup is the Standby copy ( exact copy ). Just make sure forced logging is on and the archive with keep the data in sync.
    If you delay then you are up the creek without a paddle as NOLOGGING actions are bound to occur and then the Standby data will not match the Primary.
    If you have doubts your best option is to roll the standby forward using RMAN Incremental Backups :
    http://www.oracle-ckpt.com/?s=incremental&op.x=31&op.y=11
    Best Regards
    mseberg

  • Standby Database problem (10g)

    Dear Oracle Experts,
    I have primary and physical standby instance running. Due to whatever reason, the server running the standby instance is restarted.
    After the standby instance restart, I have observed that 2 archivelogs that appear in primary instance was not in standby instance.
    I have queries the v$archive_gap but it does not report anything gap.
    What does that imply? Does that means there is no gap? But clearly 2 archivelogs are missing. Its too confusing.
    If it means the standby instance is no longer sync with primary instance, is it possible to apply manually the 2 missing archivelogs as I have them.
    Thanks in advance.

    Yes you can apply the logs manually but before that please let me know whether you got the logs in the standby database.
    Use the following command to see the log file no and whether its applied or not
    select sequence#, applied from v$archived_log where applied='YES';
    If you can see those logs in the standby database dont do any thing it will auto matically apply those logs, but for long time if it does not apply then remove that log and do the following steps
    1) If the archive logs is in ASM then use RMAN command.
    Take the backup and restore it in the standby server using the following command
    RUN
    SET ARCHIVELOG DESTINATION TO '/data/RMANBKP/restore';
    RESTORE ARCHIVELOG from sequence 123 until sequence 125;
    then
    2) Register those archivelogs using the following command
    Alter database register logfile '/data/RMANBKP/restore/123.dbf';
    or
    Alter database register or replace logfile '/data/RMANBKP/restore/123.dbf';
    Regards,
    Siraj

  • STANDBY DATABASE 10 10g

    I am in process of configuring the stand by database and I am getting the following error in standby database
    SQL> startup nomount pfile='/disk3/stand/initSTAND.ora';
    ORACLE instance started.
    Total System Global Area 314572800 bytes
    Fixed Size 1978272 bytes
    Variable Size 96473184 bytes
    Database Buffers 205520896 bytes
    Redo Buffers 10600448 bytes
    SQL> alter database mount standby database;
    Database altered.
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
    Database altered.
    SQL> SQL> alter database open read only;
    alter database open read only
    ERROR at line 1:
    ORA-16004: backup database requires recovery
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: '/disk6/dbase/DSA/system01.dbf'

    First step is to check the description of errors..
    ORA-16004: backup database requires recovery
    Cause: The control file is for a backup database which requires recovery, and cannot be opened for read-only access by this instance.
    Action: Perform the necessary recovery and re-open for read-only access.
    Check the DBWR trace file and alert_log file. Check the SCN applied on standby database. Find out any archivelog required to be applied...
    Read 8.2 section..
    Documentation:-
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14239/manage_ps.htm#i1017111

  • Standby Database in 10g SE

    Hello,
    I have to create standby DB on AIX. I know, it's not possible to use the DataGuard with Oracle DB Standard Edition, so I must do it with an older technique. I want to set up remote location for archived logs with OPTIONAL and REOPEN options. Primary database is backed up automatically by RMAN. During that operation old archived logs are deleted. I know that RMAN will not delete my old archived logs on standby machine. How can I do it? Do I have to schedule new jobs on standby to delete there old archived logs? Can I add entries to RMAN scripts on my primary site to delete archived logs on standby server?
    Thanks
    Pit

    On Niall Litchfield's blog are links to a presentation You Probably Don't Need DataGuard, along with scripts for setting up and maintaining a standby system. The scripts are Windows based if memory serves, but they should give you a pretty good idea of what your AIX scripts need to do.
    Justin

  • How to stop and cancel physical standby database (ORACLE 10g)

    Dear All,
    I have physical standby setup and I want stopped for the time being that to use the database as an normal DB (standalone inestance).
    Kindly advise and show me how do I do that.
    Regards,

    executing below query on primary db stops log shipping to standby.......i think this is sufficient for disabling your physical standby setup temporary
    alter system set log_archive_dest_state_2=defer scope=both;
    In future if you want your dataguard setup back..............you can rebuild the standby and enable the log_archive_dest_state_2 parameter.
    Edited by: Veeresh.S on Nov 14, 2012 5:45 PM

  • Standby Database (Archive Log Mode)

    I'm going to be setting up a standby database.
    I understand that the primary database must be in archive log mode.
    Is there any reason for the standby database to be in archivelog mode?

    Since your primary Db is in archive log mode, so will be your standby, when it is made primary.But. you can use STANDBY REDO LOGS from 9i version, where these Standby Redo Logs then store the information received from the Primary Database.
    As per metalink:-
    >
    Standby Redo Logs are only supported for the Physical Standby Database in Oracle 9i and as well for Logical Standby Databases in 10g. Standby Redo Logs are only used if you have the LGWR activated for archival to the Remote Standby Database.If you have Standby Redo Logs, the RFS process will write into the Standby RedoLog as mentioned above and when a log switch occurs, the Archiver Process of the Standby Database will archive this Standby Redo Log to an Archived Redo Log, while the MRP process applies the information to the Standby Database. In a Failover situation, you will also have access to the information already written in the Standby Redo Logs, so the information will not be lost.
    >
    Check metalink Doc ID: Note:219344.1
    Regards,
    Anand

  • Standby Database Archives

    I have created a standby database in 10g using Data Guard. I ran a query to check that the logs are being applied and I get a perplexing result. It looks as if my logs are getting sent to the DB twice. Any ideas as to what may be causing this?
    The result from the query is below.
    Jim
    SEQUENCE#     FIRST_TIME     NEXT_TIME     APPLIED
    3206     9/18/2006 9:38:33 AM     9/18/2006 9:53:35 AM     NO
    3206     9/18/2006 9:38:33 AM     9/18/2006 9:53:35 AM     YES
    3205     9/18/2006 9:23:28 AM     9/18/2006 9:38:33 AM     NO
    3205     9/18/2006 9:23:28 AM     9/18/2006 9:38:33 AM     YES
    3204     9/18/2006 9:08:23 AM     9/18/2006 9:23:28 AM     NO
    3204     9/18/2006 9:08:23 AM     9/18/2006 9:23:28 AM     YES
    3203     9/18/2006 8:53:18 AM     9/18/2006 9:08:23 AM     NO
    3203     9/18/2006 8:53:18 AM     9/18/2006 9:08:23 AM     YES
    3202     9/18/2006 8:38:13 AM     9/18/2006 8:53:18 AM     NO
    3202     9/18/2006 8:38:13 AM     9/18/2006 8:53:18 AM     YES
    3201     9/18/2006 8:23:08 AM     9/18/2006 8:38:13 AM     NO
    3201     9/18/2006 8:23:08 AM     9/18/2006 8:38:13 AM     YES
    3200     9/18/2006 8:08:03 AM     9/18/2006 8:23:08 AM     NO
    3200     9/18/2006 8:08:03 AM     9/18/2006 8:23:08 AM     YES

    Nevermind please. I was running the query on the Primary DB and I was seeing the createion and transmittal of the logs from the Primary to the Standby. My mistake.
    Jim

Maybe you are looking for