Physical standby 10gr2

I am running a query which takes 2minutes. the same query if i run on primary of physical standby (maximum availability) it takes 8 minutes. why this behavior.

Are you saying that the QUERY is slower in PRODUCTION when using LGWR SYNC ?
So it is LGWR SYNC that causes the query to be slow ?
Is your query fetching a lot of data (large number of rows, columns with large sizes) to the client ?
10mbps is very slow. Most server side LAN connects are 1Gbps, certainly not below 100Mbps. Check to see if the Network Interface on your server / network is saturated.

Similar Messages

  • Transport Tablespace from Physical Standby in Oracle 10gr2 - 64 Bit

    Hi,
    How to Export Transport Tablespaces from Physical Standby Server - Oracle 10gr2 EE in Windows 2003 EE, Since Production Servers are in 24*7 Support to avoid make Read Only Tablespaces.
    Regards
    Harish

    Open your Physical Standby in read only mode and do your export. Then mount it back in managed recovery mode.

  • Questions regarding creating a physical standby database in 10gR2

    I'm setting up a physical standby database in a test environment using two windows 2003 servers. I was wondering if someone could answer a few questions I'm not too clear on. I've been thru the data guard manual and as much online information as i can find. I may have it working but wanted to post some things I'm not sure I did quite right.
    My tnsnames.ora files.
    On my primary database server:
    # tnsnames.ora Network Configuration File: F:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    PRIMARY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SERVER1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = PRIMARY.MYDOMAIN.com)
    STANDBY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SERVER2)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = STANDBY.MYDOMAIN.com)
    On my physical standby database server:
    # tnsnames.ora Network Configuration File: f:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    STANDBY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SERVER2)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = STANDBY.MYDOMAIN.com)
    PRIMARY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SERVER1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = PRIMARY.MYDOMAIN.com)
    My Listener.ora files:
    On my primary database server:
    # listener.ora Network Configuration File: F:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = PRIMARY.MYDOMAIN.com)
    (ORACLE_HOME = f:\oracle\product\10.2.0\db_1)
    (SID_NAME = primary)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = server1.mydomain.com)(PORT = 1521))
    On my physical standby database server:
    # listener.ora Network Configuration File: f:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = standby.mydomain.com)
    (ORACLE_HOME = f:\oracle\product\10.2.0\db_1)
    (SID_NAME = standby)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sever2.mydomain.com)(PORT = 1521))
    The next item I'm not sure about is after creating the control file for standby use.
    One the primary server I created it using:
    alter database create standby controlfile as 'sbcontrol01.ctl';
    I copied the primary database pfile I had created earlier to the standby server, renamed it and edited it.
    Initially I left the CONTROL_FILES= parameter pointing to the control01.ctl, control02.ctl and control03.ctl that I restored. But I was getting the error ORA-01665: control file is not a standby control file
    So I copied the sbcontrol01.ctl to sbcontrol02 and sbcontrol03.ctl and pointed the CONTROL_FILES= parameter at them.
    The error went away and the database came up. I still need to test it some more but wanted to see if what i did was correct or a fluke.
    Edited by: tjohnson on Mar 23, 2009 2:26 PM

    If in the primary I had control files named control01, control02 and control03 would I have been able to create a standby controlfile called control01.ctl or would I have had to name it something else like I did (sbcontrol01.ctl) and rename it to control01.ctl once I got it over to the standby database server?Suppose you have the primary database control file in C:\oracle\primary\control location with names control01.ctl and control02.ctl. Then also you can create a standby controlfile with control01.ctl and control02.ctl , but then the location to be created must be different.You can create it in C:\oracle\primary location and then transfer to the specified location mentioed in the pfile of the standby database and mount the standby database.
    But saying this i would suggested to keep the name different from control01.ctl as far as naming conventions are followed.It might confuse someoe whether its a primary database controlfe or a standby database controlfile.Usally primary database controlfile are named control01.ctl , coltrol02.ctl etc and for standby many do prefer keeping standby01.ctl, standby02.ctl.Thats just for for understanding.
    HTH
    Anand

  • Rolling Upgrade of Oracle 10gR2 RAC with Physical Standby (DG)

    Hi DBAs,
    I want to do a rolling upgrade of Oracle 10.2.0.3 (2 node RAC+ASM) with Physical Standy Dataguard to Oracle 10.2.0.4 also applying CPU (April2009).
    Please suggest the best way to perform this upgrade and patching with no downtime.
    Thanks
    -Samar-

    Unfortunately rolling upgrade is only possible with a logical standby in place:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/upgrades.htm#CHDBJAGG
    That doesn't help you at this time, but 11g has a way to do it with a physical standby. Even here you need an intermediate logical standby:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/rollup.htm#CHDHCBGA
    Werner

  • Problem while creating Physical standby database on remote Server

    Hi
    I try to create a physical standby datbaase using OEM 10gr2, it is working when I create on same server. No issue but when I try to create same on remote server it is giving below warning and process failing. Please let me know what needs to be down in this senario...
    It is showing redo log information in v$log and v$log_file but not creating physically on PHYSICAL Standby instance..
    I appriciate your help and ur time too..
    These messages are from PRIMARY database alert*.log file
    There is space for up to 12 standby redo logfiles
    Use the following SQL commands on the standby database to create
    standby redo logfiles that match the primary database:
    ALTER DATABASE ADD STANDBY LOGFILE 'srl1.f' SIZE 52428800;
    ALTER DATABASE ADD STANDBY LOGFILE 'srl2.f' SIZE 52428800;
    ALTER DATABASE ADD STANDBY LOGFILE 'srl3.f' SIZE 52428800;
    ALTER DATABASE ADD STANDBY LOGFILE 'srl4.f' SIZE 52428800;
    ALTER DATABASE ADD STANDBY LOGFILE 'srl5.f' SIZE 52428800;
    WARNING: OMF is enabled on this database. Creating a physical
    standby controlfile, when OMF is enabled on the primary
    database, requires manual RMAN intervention to resolve OMF
    datafile pathnames.
    NOTE: Please refer to the RMAN documentation for procedures
    describing how to manually resolve OMF datafile pathnames.
    Thanks and Regards,
    RK

    Well, it is simply warning that "Creating a physical
    standby controlfile, when OMF is enabled on the primary
    database, requires manual RMAN intervention to resolve OMF
    datafile pathnames.
    NOTE: Please refer to the RMAN documentation for procedures
    describing how to manually resolve OMF datafile pathnames"
    For instance, the path for the logfile name in "ALTER DATABASE ADD STANDBY LOGFILE 'srl5.f' SIZE 52428800" may need to be changed manually. It is advisable to check the mentioned documentation.

  • Upgrading from 10.2 to 11.2 using Physical Standby

    Hi
    We have a 10GR2 EE database in a RAC cluster and we want to upgrade the 10GR2 database to 11GR2 non-RAC on a different server.
    We'd prefer to do this using a Physical Standby to avoid down time as much as possible.
    Any suggestions as to the best way to do this?
    Thanks

    I was sent the following which applies (page 156 on)
    https://apex.oracle.com/pls/apex/f?p=202202:2:0:APPLICATION_PROCESS=downloadFile:::F20225_ID:1301

  • Streams or Physical standby?

    I have a scenario here as below
    I have an Oracle 10gR2 database server in state A and would like it to be replicate over to a new database in State B. Db server at State A is the primary server which will be access by users and DB server at State B will be use only if Server at State A is crash or down. So which approach should I use?
    Streams or physical standby?

    user12259190 wrote:
    ya logically from the scenario it is more suitable to use dataguard physical standby than Streams but my worry is would it be a problem (e.g: unstable WAN) for this approach since it is going to be go through the WAN? From my experience dataguard physical standby server required to be rebuild from the production server(which required a downtime) when it is not in sync or something?
    Just to let you know that the user required to access the server once the primary server is down(regardless is server crash or WAN network down)DataGuard can afford a Gap, it depends on how long the gap was sustained for, on busy databases a few hours can be enough, i had a database that went down and i could speed-apply redo logs 5 days later.

  • Physical standby databasse issues

    By mistake we deleted around 600 archive log files from primary location before it applied to standby database, and we don't have any backup of those archive logs. Its a physical standby database. Is there any way to fill that gap without affecting the primary database.
    - Mano

    Assuming its Oracle 10gR2, you can take RMAN incremental from SCN backup of primary database from the point where your standby is out of sync. Move RMAN backup pieces to the standby database server and recover standby database.
    Oracle documentation is worth looking at:
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#BGBCEBJG
    Asif Momen
    http://momendba.blogspot.com

  • Tns entry on client machine for a physical standby!

    Hi all.
    i am working on 10gR2 on RHEL4.I have created a physical standby on the same host. The primary and the standby database has different sid as prod and prodsb
    can i have one tns entry on the client machine so that they can connect to the database even after teh switchover or failover??? or will they have to change the connection string while connecting to the database??

    Hi, you can use Oracle Transparent Failover, please review the next link for get more information.
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/advcfg.htm#sthref1278
    Please let me know if you have some doubt or comment about this.
    Regards.

  • 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.

  • Can read-only standby be cascaded from another DR physical standby

    we are going to have one two-node RAC database in the primary site (site A), one Data Guard maintained standby database in the DR site (site B) and one ACTIVE Data Guard maintained read-only database for reporting (site C, on the same subnet as site B). My question is what is the best practice for the data guard configuration in terms of the redo log transportation, Is it possible to set up relay of redo log transport from one physical standby to another (database version 11gR2, data guard in Maximum Performance Mode):
    1)     A->B->C (minimum overhead to primary site A, maximum delay to report site C)
    2)     A->C->B (minimum overhead to primary site A, maximum delay to DR site C)
    3)     A->B; A-C (maximum overhead to primary site A, minimum delay to site B and C)
    Are all three configuration possible, which one would you recommend?
    Any discussion document or white paper about the above configuration you can point to for me (I gather the scenario may be rare, but multiple physical standby instances set up are not uncommon, if to ignore active data guard part) ?
    Edited by: user10786648 on 24/07/2012 17:40
    Edited by: user10786648 on 24/07/2012 17:47
    Edited by: user10786648 on 24/07/2012 23:36

    Hello;
    Welcome to the forum.
    minimum overhead to primary site A, maximum delay to report site - ( I don't believe in emergency reports, Primary should rule. )
    Will refer to these white papers :
    Data Guard Redo Transport & Network Best Practices
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-10gr2-dataguardnetworkbestpr-134557.pdf
    And
    Rapid Oracle RAC Standby
    http://www.oracle.com/technetwork/database/availability/maa-wp-11g-racone-standby-501088.pdf
    And of General interest
    Oracle Data Guard with Oracle Database 11g Release 2
    http://www.oracle.com/technetwork/database/features/availability/twp-dataguard-11gr2-1-131981.pdf
    Oracle Data Guard Technical White Papers
    http://www.oracle.com/technetwork/database/features/availability/data-guard-technical-info-152834.html
    http://grokbase.com/t/freelists.org/oracle-l/11c18th65t/active-dataguard-ndash-ndash-cascade-standby-or-not
    Best Regards
    mseberg
    Edited by: mseberg on Jul 24, 2012 7:55 PM

  • Can we patch Applications(ADPATCH) with no downtime using physical standby

    Hi ,
    As I know I can user Physical standby database for upgrade database with minimal downtime . Can I use the same with patching Oracle application using adpatch.
    In other words can we patch Application (using Adpatch) with no downtime using physical standby .
    Thanks in advance .
    Best Regards,

    In other words can we patch Application (using Adpatch) with no downtime using physical standby . No.
    Business Continuity for Oracle Applications Release 11i, Database Releases 9i and 10g [ID 216212.1] -- Section 4: Applying an Applications Patch
    Business Continuity for Oracle Applications Release 12 on Database Release 10gR2 - Single Instance and RAC [ID 452056.1] -- Procedure 4.4 - E-Business Suite Patch Application
    Business Continuity for Oracle E-Business Release 12 Using Oracle 11g Physical Standby Database [ID 1070033.1] -- Section 7: Oracle E-Business Suite Maintenance with Standby Database
    Thanks,
    Hussein

  • 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.

  • 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

  • Drop a datafile from physical standby's control file

    Hi,
    I am trying to create a physical standby database for my production...
    1) I have taken cold backup of my primary database on 18-Nov-2013...
    2) I added a datafile on 19-nov-2013 ( 'O:\ORADATA\SFMS\SFMS_DATA4.DBF' )
    3) Standby control file was generated on 20-ov-2013 (today) after shutting down and then mounting the primary database...
    When i try to recover the newly setup standby using archive files, i am getting the following error (datafile added on 19th Nov is missing)
    SQL> recover standby database;
    ORA-00283: recovery session canceled due to errors
    ORA-01110: data file 39: 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    ORA-01157: cannot identify/lock data file 39 - see DBWR trace file
    ORA-01110: data file 39: 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    How to overcome this situation...
    Can i delete the entry for the newly added datafile from the backup control file ?
    When i tried to delete datafile using "alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF';", it is showing that database should be  open..
    SQL> alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    ERROR at line 1:
    ORA-01109: database not open
    SQL> show parameter STANDBY_FILE_MANAGEMENT
    NAME                                 TYPE        VALUE
    standby_file_management              string      AUTO
    SQL> alter system set STANDBY_FILE_MANAGEMENT=manual;
    System altered.
    SQL> show parameter STANDBY_FILE_MANAGEMENT
    NAME                                 TYPE        VALUE
    standby_file_management              string      MANUAL
    SQL> alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    ERROR at line 1:
    ORA-01109: database not open
    Regards,
    Jibu

    Jibu wrote:
    Hi,
    I am trying to create a physical standby database for my production...
    1) I have taken cold backup of my primary database on 18-Nov-2013...
    2) I added a datafile on 19-nov-2013 ( 'O:\ORADATA\SFMS\SFMS_DATA4.DBF' )
    3) Standby control file was generated on 20-ov-2013 (today) after shutting down and then mounting the primary database..
    Hi,
    What is your version?
    If you added new datafile or created new tablespace, take backup again for restore new created standby database.
    If your standby  database running well, DG configuration success, then this datafile will create on standby side, too.
    Set STANDBY_FILE_MANAGEMENT=AUTO best practice.
    When i try to recover the newly setup standby using archive files, i am getting the following error (datafile added on 19th Nov is missing)
    SQL> recover standby database;
    ORA-00283: recovery session canceled due to errors
    ORA-01110: data file 39: 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    ORA-01157: cannot identify/lock data file 39 - see DBWR trace file
    ORA-01110: data file 39: 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    How to overcome this situation...
    Can i delete the entry for the newly added datafile from the backup control file ?
    Not need any delete datafile from standby side, you must recreate standby database, or you can  take RMAN backup and restore to standby  side again.
    When i tried to delete datafile using "alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF';", it is showing that database should be  open..
    SQL> alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    ERROR at line 1:
    ORA-01109: database not open
    SQL> show parameter STANDBY_FILE_MANAGEMENT
    NAME                                 TYPE        VALUE
    standby_file_management              string      AUTO
    SQL> alter system set STANDBY_FILE_MANAGEMENT=manual;
    System altered.
    SQL> show parameter STANDBY_FILE_MANAGEMENT
    NAME                                 TYPE        VALUE
    standby_file_management              string      MANUAL
    SQL> alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    alter tablespace SFMS_BR_DATA drop datafile 'O:\ORADATA\SFMS\SFMS_DATA4.DBF'
    ERROR at line 1:
    ORA-01109: database not open
    It is not logical, Physical  standby must be bit-for-bit same with Primary  database.
    Regards
    Mahir M. Quluzade

Maybe you are looking for

  • How to use jndi datasource on Weblogic instead of adding a DB data source

    Hi All, version: 11.1.1.4 I am trying to figure out how in my ADF applications I can use an existing jndi datasource out on our weblogic servers instead of having to bury the Database db source in my adf applications. Like SOA I would like to referen

  • Delivery Split for PO

    I want to split delivery creation for 'NL' type of delivery for STPO i.e. 'UB' type. i.e. if a PO has 2 materials with different material types ( e.g FERT & HAWA ), then 2 different deliveries have to be created in this case automatically. How can th

  • Confirmation at QM operation

    Dear All, My client wants confirmation of the QM operation through Quality results recording. for the same I have done the settings as below. Control Key - Insp Char req, Auto GR,Confirmations - 2 (req)   now I want to confirm the production qty thro

  • SUMProduct

    Hello, Why doesn't the sumproduct work with CX? for example this formula would not work =SUMPRODUCT((Range1=Criteria1),(Range2=Criteria2),--(Range3=Criteria3),Range2Sum) Any Ideas?????

  • Memo field for keywords, folders, albums or projects

    Hi - I'm reading the manual and liking what I learn. My pc-based DAM is very capable and has a couple of features that I'd like to know if Aperture has, but that I'm not seeing where to find them. I would like to be able to include a memo-field, or p