Basic standby database configuration in Oracle10g standard edition

Have anyone successfully implemented the technology in Oracle8i and earlier known as "Basic standby database" in Oracle10g SE? From the information, that I've been able to gather, this technology still exists in Oracle9i and later, along with Oracle Data Guard.
I'm not interested in the complete Data Guard environment - only the standby database feature as mentioned above. Basci
I've tried the documentation regarding the configuration of Data Guard (in lack off precise documentation on this technology) - but it's very confusing what's possible on SE an EE editions.
I've followed all the guidelines, enabled archive logging on primary database, created standby control file, copied the primary database files, created the pfile from the primary database - and then used this as the source for the spfile on the standby database.
I can then mount the standby database and start the recovery process with the following command:
alter database recover standby database disconnect;
The database is altered but no archive is applied (I've manually copied the archive logs from the primary). I've configured the standby_archive_dest - but the status for the MRP0 process keeps saying: WAITING_FOR_LOG
It seems like the "automatic" recovery mode doesn't work on SE. My conclusion is that you'll have to do everything manually - which means that I've have run the recover command manually - everytime I want to apply the archive logs from the primary.
Does anyone have a complete how-to-guide on this issue or have tried implementing in a real solution?

Hi,
>>The database is altered but no archive is applied (I've manually copied the archive logs from the primary). I've configured the standby_archive_dest - but the status for the MRP0 process keeps saying: WAITING_FOR_LOG
because ur using standard edition and in this edition the archivelog will not automatically move to standby from primary database.so u have to automatically transfer and apply it.
Thanks
Kuljeet

Similar Messages

  • Basic Standby Database(Manually Managed) in Standard edition

    Hello,
    We are using oracle SE where dataguard feature is not available. So we cloned the database and applied archived logs for recovery followed a metalink doc. Everything is good. Now I need to keep my standby in synch with primary, for this i need to manually transfer all the archived logs from primary to standby arch dest location. So any idea as this is a manual process which we cant scp daily...so do we have any script that we can set up in cron to scp the archive logs once during a particular time and then delete them after applying at standby? or else please tell any better idea if you have. Appreciate any help.
    Thanks
    kumar

    Hello;
    It might be simpler to use 'rsync'
    rsync -e ssh -Pazv /ora/oracle/arch/ oracle@remote:/export/home/oracle/arch/
    There's an example here :
    http://www.databasejournal.com/features/oracle/article.php/3682421/Manual-Standby-Database-under-Oracle-Standard-Edition.htm
    I use rsync for similar things like when I want to move a group of files without listing them.
    Best Regards
    mseberg

  • Creation of Standby Database on Oracle 10g Standard Edition

    Hi Gurus,
    Can anyone let me know how to create physical standby database on Oracle 10.2.0.1(Standard Edition). I am using the Fedora7(32-bit) machine. Can anyone please send me some documentation on how to create.
    Thanks in advance.
    Thanks & Regards,
    Farooqui.

    How to create physical standby database without dataguard

  • Standby Database on Oracle 10g Standard Edition ?

    Hi All,
    Is it possible to do Oracle Stand By Database on Oracle 10g SE ?
    I read somewhere in this group that we can do standby database even in SE by writing a script that copy the archive log to the secondary server.
    Is this approach reliable enough to be done in production ?
    Does anybody have sample of the script ?
    Thank you for your help,
    xtanto

    Hi,
    Well, I think I'd beter put the scripts right there. Remember, they have been tested under MY environment, using MY releases, MY O.Ses. It's up to you to check whether the're valid for you. They are provided as is, for sample.
    There are 4 files:
    . generic.sh : you can duplicate this file in order to set up as many standby as needed, etc. It calls other scripts in order to:
    . archivemove.sh : Get the archived redo logs to the standby host
    . recover.sh : Synch the standby
    . getrecid.sql : get the maximum progess point on the Manual Standby (used by archivemove.sh)
    These scripts are used from the standby host. Remember to throughly check it before relying on it for production.
    generic.sh
    #!/bin/sh
    # Be sure environment variable are set. If not, then it might fail!
    # These environment variables are those for the Manual Physical Standby host
    export ORACLE_HOME=/logical/oracle/Ora9i
    export ORACLE_BASE=/logical/oracle
    export ORACLE_STANDBY=tns_alias
    export ORACLE_STANDBY_SYSDBA_PASS=change_on_install
    export PATH=$ORACLE_HOME/bin:$PATH
    export SOURCE_HOST=primary_host
    export SOURCE_DRIVE=/primary/absolute/path/to/archived/redo/logs
    export LOCAL_ARC_PARTH=/path/to/logical/archive/dest
    # Check the date command usage depending on the platform
    dateexec=`date "+%Y-%m-%d-%H-%M"`
    # copy archived redo logs from main database
    archivemove.sh > $dateexec.generic.log
    # recover/sync the Manual Standby Database
    recover.sh >> $dateexec.generic.log
    archivemove.sh
    #!/bin/sh
    echo ----------------------------------------------------------------
    echo ----------------------------------------------------------------
    echo Get what log has last been applied to: $ORACLE_STANDBY
    echo ----------------------------------------------------------------
    sqlplus /nolog @getrecid.sql $ORACLE_STANDBY
    echo ----------------------------------------------------------------
    maxval=`tail -1 recid.log`
    echo maxval=$maxval
    rm recid.log
    echo ----------------------------------------------------------------
    # Check source drive to see what we're missing locally (source = primary)
    for filename in `remsh $SOURCE_HOST 'ls $SOURCE_DRIVE' | sort`
    do
         # get archive number.
         # WARNING here I'm based on MY archived redo log name format! Put yours for the cut
         filename_parsed=`echo $filename | cut -c12-16`
         # Check if the number is after the last one applied to standby
         if [ $filename_parsed -gt $maxval ]
         then
              # grab it!
              echo $filename
              rcp $SOURCE_HOST:$SOURCE_DRIVE/$filename $LOCAL_ARC_PARTH
         fi
    done
    echo ----------------------------------------------------------------
    echo Removing old files
    echo ----------------------------------------------------------------
    # Check in local directory
    for filename in `ls $LOCAL_ARC_PATH | sort`
    do
         # WARNING again about filename format
         filename_parsed=`echo $filename | cut -c12-16`
         # Check the arc number...
         if [ $filename_parsed -lt `expr $maxval - 15` ]
         then
              # Delete it!
              echo $filename
              rm -f $LOCAL_ARC_PATH/$filename
         fi
    done
    echo ----------------------------------------------------------------
    echo end archivemove.sh
    echo ----------------------------------------------------------------
    recover.sh
    #!/bin/sh
    echo ----------------------------------------------------------------
    echo Traitement de la base $ORACLE_STANDBY
    echo ----------------------------------------------------------------
    sqlplus /nolog << EOF
    connect sys/$ORACLE_STANDBY_SYSDBA_PASS@$ORACLE_STANDBY as sysdba
    SELECT MAX(RECID) "Log id now" FROM V\$LOG_HISTORY;
    RECOVER AUTOMATIC DATABASE UNTIL CANCEL USING BACKUP CONTROLFILE
    CANCEL
    SELECT MAX(RECID) "Log id after recover" FROM V\$LOG_HISTORY;
    exit;
    EOF
    echo ----------------------------------------------------------------
    echo End of recovery process
    echo ----------------------------------------------------------------
    getrecid.sql
    connect sys/change_on_install@&1 as sysdba
    SET HEAD OFF FEEDBACK OFF VERIFY OFF TERMOUT ON ECHO OFF TRIMSPOOL ON SERVEROUTPUT OFF
    SPOOL recid.log
    SELECT MAX(RECID) FROM V$LOG_HISTORY;
    SPOOL OFF
    exitHTH building your own scripts.
    Yoann.

  • Can i create a standby database in oracle 10g standared edition ?

    what are the steps required for creating a standby database using oracle 10g standard edition. or Any other feature for mirroring database in oracle 10g standared edition

    Dear mithun,
    Please read the following online documentation;
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14239/standby.htm
    +"+
    +2.3.2 Oracle Software Requirements+
    +The following list describes Oracle software requirements for using Data Guard:+
    +* Oracle Data Guard is available only as a feature of Oracle Database Enterprise Edition. It is not available with Oracle Database Standard Edition. This means the same release of Oracle Database Enterprise Edition must be installed on the primary database and all standby databases in a Data Guard configuration.+
    +Note:+
    +It is possible to simulate a standby database environment with databases running Oracle Database Standard Edition. You can do this by manually transferring archived redo log files using an operating system copy utility or using custom scripts that periodically send archived redo log files from one database to the other. The consequence is that this configuration does not provide the ease-of-use, manageability, performance, and disaster-recovery capabilities available with Data Guard.+
    +"+
    Hope That Helps.
    Ogan

  • To create standby database using oracle 10g standared edition

    my producation database is oracle 10G standard edition .Can i implement a oracle dataguard or standby database using standard edition licenses.if standby database is possiable in standard edition .what are the steps for creating a standby database using oracle 10g standard edition.

    General answer is http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/editions.htm#BABJICBB.
    For Data Guard you cannot :
    - use instance parameters to automatically send archived redo logs
    - use instance parameters to resolve archived redo logs gaps
    - create a logical standby
    - use SQL statements to do switchover / failover
    - use Data Guard Broker.

  • Basic standby database

    Is it possible to configure a basic standby database with Oracle Express Edition?

    no, they are not features of XE

  • Mirroring in Oracle10g Standard Edition

    Hello
    We have Oracle10g Standard Edition databases in our production server , Now we gonna create a mirror databases for them
    Considering that Oracle10g Standard Edition doesn't support Data Guard and Multi-master Replication,
    what is your suggested solution for us to creating mirror databases ?
    thanks

    What is your idea about this solution , for creating mirror database in oracle 10g standard edition
    1- we can move full backup of primary database to backup site
    2- and then after that we move archive logs from primary site to backup site (we always create incremental backups but we don't want move incremental backups we just want move archive logs)
    3- we restore the full backup in backup site and set it in mount state (not open) , every time that we move archive logs then we recover them
    4 - we don't open that database in backup site until a crash happened
    Do you thing this method is better that standby database method ? why ?
    Can moving archive logs only (after sending full backup to backup site) with out incremental backups cause trouble ?
    thank you

  • Standby Database Configuration with LGWR and ASYNC

    Hi,
    I am running a standby database configuration on a 100MBit LAN
    with the following set-up:
    log_archive_dest_2='service=standby mandatory reopen=300 lgwr
    async=2000'
    The system is handling a lot of very small transactions, not
    involving large amounts of data.
    My questions are:
    - What are the potential problems in using a small ASYNC buffer
    like the one above?
    - Does a larger ASYNC buffer influence the latency in copying
    changes from the production database to the standby database -
    will it buffer more changes before sending them to the standby
    database?

    Murlib,
    I have few more doubt-
    Our requirement is to configure a Standby( Physical-MAXIMUM PERFORMANCE
    mode) in a place, which is 600 KM away from our primary destination.
    Currently our LAN network traffic rate is 100 Mbps. but this traffic is
    virtually reduced to 1Mbps out side our LAN.
    Our Production Database is 24X7 and Its generating 17 GB Archive files every
    day.
    Since the net work traffic is slow i think, it will create some log gaps,and
    also we couldn't do a point in time recovery.
    We are configuring a Standby, here inside our LAN in Managed Recovery Mode
    for recovery purpose and will keep a Standby there in remote place for
    Reports.
    and it will be recover it in every morning.If iam following this procedure,
    my
    log_archive_dest_2 ='service=stby ARCH NOAFFIRM' ( which is the standby here
    inside our LAN and should be in MANAGED RECOVERY mode)
    and i need to configure the parameters for standby in my remote location.So
    my doubt is-
    Shall i need to configure "log_archive_dest_n" in the parameterlist of my
    Primary for that remote Standby ?
    I think for manual recovery we can aviod that.But we need to eonnect it
    thrrough Oracle Net
    Can you please tell me the essential PRIMARY parameter list entries for this
    kind of remote standby , recovering in a manual mode ?
    i think the following parameter should be there -
    FAL_SERVER
    FAL_CLIENT
    DB_FILE_NAME_CONVERT
    LOG_FILE_NAME_CONVERT
    STANDBY_FILE_MANAGEMENT=AUTO
    STANDBY_ARCHIVE_DEST
    Thanks and Regards,
    Raj

  • How will you find out no of standby databases configured for primary database from OS level

    How can find the number of standby databases configured for primary database from os level

    Check the alert log.
    The Alert log will always have Data Guard messages in it.
    Example
    cd /u01/app/oracle/diag/rdbms/primary/PRIMARY/trace
    tail -1700 alert_PRIMARY.log | more
    Wed Nov 13 13:35:26 2013
    ARC7: Standby redo logfile selected for thread 1 sequence 1164 for destination LOG_ARCHIVE_DEST_2
    LNS: Standby redo logfile selected for thread 1 sequence 1165 for destination LOG_ARCHIVE_DEST_2
    If you don't see messages like this it's probably not a Data Guard system.
    Or search it for :
    System parameters with non-default values:
    Which on Data Guard system will show things like:
    log_archive_dest_1 = "LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=PRIMARY"
    log_archive_dest_2 = "SERVICE=STANDBY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STANDBY"
    log_archive_dest_state_1 = "ENABLE"
    log_archive_dest_state_2 = "ENABLE"
    fal_server = "STANDBY"
    Best Regards
    mseberg

  • Can standby database configured on VMWare server or not?

    HI all,
    Is it possible that our primary server is not on vmware server but standby server can be configured on VMWare server?
    AFAIK, configuration of both the server should be same.
    If our Primary server is not on Vmware server but standby database configured on Vmware server, Will it work or not.
    Pls suggest me.....
    And another thing is that Is it necessary to have a dedicated connection b/w primary and standby server for RFS process.
    pls suggest me....

    If our Primary server is not on Vmware server but standby database configured on Vmware server, Will it work or not.Logically speaking, it should not matter but YMMV.
    And another thing is that Is it necessary to have a dedicated connection b/w primary and standby server for RFS process.what is RFS process? Could you elaborate?

  • Standby DB is available in standard edition ???

    Hi,
    i want to ask whether standby DB feature is available in oracle standard edition server ???
    Thanks
    Steve
    null

    According to the 10g Licencing info, only table compression is listed under Table 1-1 Features Not Available with Oracle Database Standard Edition or Standard Edition One.
    Cheers, APC

  • Not able to get data of primary in standby database (configured dataguard)

    Hi all, I configured dataguard in my local system, i ve a few qsns (as i am new, ve patience)
    1) scn differs wrt primary in standby (i checked, 1day difference), how to make scn same?
    2)i created a table in primary, its not refelecting in standby, (below i ve pasted alertlog entries)
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
    ORA-01110: data file 2: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\SYSAUX01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
    ORA-01110: data file 3: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\UNDOTBS01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\USERS01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
    ORA-01110: data file 5: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\EXAMPLE01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
    ORA-01110: data file 6: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\STREAM_TBS.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 7 - see DBWR trace file
    ORA-01110: data file 7: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\DATA01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-16004 signalled during: alter database open read only...
    3)wen i try to open standby database in read only mode gives below error..how do i solve it?
    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:
    'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\SYSTEM01.DBF'

    971424 wrote:
    Hi all, I configured dataguard in my local system, i ve a few qsns (as i am new, ve patience)
    1) scn differs wrt primary in standby (i checked, 1day difference), how to make scn same?Please do not use IM language here, instead of "qsns" use questions.
    SCN can be differ in standby and it can be behind to primary based on the backup you have restored. Of course by performing recovery you can synchronize standby with primary database. You can use incremental backups for standby using link http://www.oracle-ckpt.com/rman-incremental-backups-to-roll-forward-a-physical-standby-database-2/
    2)i created a table in primary, its not refelecting in standby, (below i ve pasted alertlog entries)
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
    ORA-01110: data file 2: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\SYSAUX01.DBF'
    ORA-27041: unable to open fileFirst check whether those files are exist in that location or not and if file names are different other than primary then rename file locations. Also check the permissions on the folder/files.

  • Database link between Oracle Standard Edition and Oracle Enterprise Edition

    Hi,
    I am looking at setting up a data transfer process between an Oracle 11g Enterprise Edition database and an Oracle 11g Standard Edition database. Database links would be required each way.
    I heard once that this is not permitted as connecting Standard to Enterprise via a DB Link means that the Standard Edition database would now need an Enterprise license.
    I have searched around but can't find anything to confirm this. Am I being mislead by this information? Is it permitted to
    connect Standard to Enterprise via a DB Link?
    John

    John O'Toole wrote:
    Hi,
    I am looking at setting up a data transfer process between an Oracle 11g Enterprise Edition database and an Oracle 11g Standard Edition database. Database links would be required each way.
    I heard once that this is not permitted as connecting Standard to Enterprise via a DB Link means that the Standard Edition database would now need an Enterprise license.
    ============================================================================
    Where did you hear that?
    --- On the internet
    And you believed it?
    --- Sure. They can't put anything on the internet that isn't true
    Where did you hear that?
    --- On the internet.
    ============================================================================
    I have searched around but can't find anything to confirm this. Am I being mislead by this information? Is it permitted to
    connect Standard to Enterprise via a DB Link?I would be shocked if it were not permitted due to licensing issues. When a db-1 has a link pointing to db-2, as far as db-2 is concerned db-1 is just another client .. no different than sqlplus. If you have an Enterprise Edition database, of course it will need to be properly licensed. But that doesn't mean all of its clients (including a SE database) have to be EE licensed.
    But even my reply is just something you read on the internet. Licensing questions can only be definitively answered by Oracle itself. Ultimately you will need to put your hands on an official Oracle document or a written statement from someone authorized to make such statements.
    >
    John

  • 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

Maybe you are looking for

  • How can I execute a method on a specified time?

    How can I execute a method on a specified time such as method1() will be executed on 1:00 p.m and the method2() will be executed in 1:00 a.m?

  • Display thumbnail view of user profile photo in UIview

    I am developing an application where i have to access user profile data from server in XML format, which contains user profile image url also. My problem is that i have to display the photos in a grid like format on the view controller (eg 4 images i

  • Models with Built in Speakers

    It seems that the only iPod with built in speakers is the iPod Touch. Is this correct?

  • Cast and Crew Credits

    Quick question... I hope... How do I add "Cast and Crew" credits to my home movies to be the same as purchased "Hollywood" movies? I have had a look in the "get info" sections for purchased movies in order to use the same sections for my details, but

  • Update version of pdf file in code

    I would like to update pdf files from previous versions to 1.8 within code. This would provide users with updated files without having to sit through a long save process.