Standby database doubts

Hi All,
I have some doubts in Oracle Standby database configuration and log transfer and redo apply.
I have read the below document.
Oracle® Data Guard Concepts and Administration
Now my doubts are *(in Physical standby database with Maximum performance mode)*
1. When configuring the standby database we are creating standby redologs in primary database,Is this standby redologs are used only when the role transition happens or for anyother purpose?
2.The archivelogs are shipped from primary to standby and the archivelogs are applied to the standby database by doing the normal media recovery.Now, how and when the data is written in the standby database redologfiles,so that when we enable the real time apply it uses the standby database redologfile to apply the data without delay?
3.(if the second point is true)In the standby database will it generate the Archivelogfiles from the redo applied, apart from the primary archivelogs which are transfered?
Please Advice..
TIA,

1. When configuring the standby database we are creating standby redologs in primary database,Is this standby redologs are used only when the role transition happens or for anyother purpose?It is not for role transition.
A standby redo log is required for the maximum protection and maximum availability modes and the LGWR ASYNC transport mode is recommended for all databases.
You can recover more data than only applying archive logs in case of failure.
SRLs' are a must for real time apply.
2.The archivelogs are shipped from primary to standby and the archivelogs are applied to the standby database by doing the normal media recovery.Now, how and when the data is written in the standby database redologfiles,so that when we enable the real time apply it uses the standby database redologfile to apply the data without delay?The data is directly written from production to SRL of standby database using lgwr process(with the help of RFS), that is why it real time. Not waiting for a log switch. See the [diagram.|http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/log_apply.htm#i1021537]
3.(if the second point is true)In the standby database will it generate the Archivelogfiles from the redo applied, apart from the primary archivelogs which are transfered?No. Only standby redo log will generate archived logs.
Regards,
S.K.

Similar Messages

  • Logical Standby Database - Doubts

    Hi everyone,
    I have a doubt about this view: dba_logstdby_unsupported;
    This view shows up me 400 tables, so i understand that an operation DML on these tables won't be replicated in the other node?, or only the fields allowed will be replicated in the news record? or new record on these tables will be replicated if these records have NULL value in the fields doesn't allow.
    Thank you very much if someone can help me with this doubts.
    Regards

    This is what the documentation says:
    If the primary database contains unsupported tables, SQL Apply automatically excludes these tables when applying redo data to the logical standby database.Source: Unsupported Tables

  • Initial setup for standby database - doubts ??

    Hi,
    While creating a physical standby database from a primary database what is the initial setup in case of the standby database which will be created.
    1.Is it that I will only install the oracle with no starter database and then continue with the steps for creating standby database.
    2. The SID has to be the same for both the database or can it be different.
    Waiting for your answer.
    sl

    1)
    Fulfill the prerequisites
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14239/standby.htm#i58150
    2) It has to be same.

  • Creating a Standby Database with the Same Directory Structure

    Hello gurus,
    I am self-learning the feature Oracle Data Guard, so I am testing it on Oracle 10g R2.
    At Oracle documentation there is a section F.4.: Creating a Standby Database with the Same Directory Structure*, that explains how to create a standby database with RMAN but there is something that I don´t understand:
    In the standby server, I created a database with the SID equal to production database* with the objetive to have the same directory structure, but when I try to startup nomount the standby database with pfile appear this expected error:
    ORA-16187: LOG_ARCHIVE_CONFIG contains duplicate, conflicting or invalid attributes
    So my question is: Is possible have the Same Directory Structure on both: Production and StandBy server?
    Thanks in advanced.

    Uwe and mseberg: thanks for your quick answers
    I have a doubt: How can you have the same directory structure if you have differents SIDs?, for example if you follow the OFA suggestions you would must have:
    On Production server: */u01/app/oracle/oradata/PRIMARY/system.dbf*
    On StandBy server: */u01/app/oracle/oradata/STANDBY/system.dbf*
    Or you created the directory structure manually on StandBy server? For example replacing the string STANDBY* to PRIMARY* before create the database using dbca.
    Do you understand my doubt? Excuse me for my english.
    Thanks.

  • Differences in creating a Standby database in RAC

    Hi All
       SO...: Solaris 11 SPARC 64
       DB...: 11.2.0.3.6 (64 bits)
       My experience regarding creating Physical Standby Databases is restricted in only single instances to single instances. I am reading the book "Oracle Database 11g Release 2 High Availability", but, in parallel, i would like to hear from the experienced DBAs here some opinions and recomendations in how to implement a RAC to RAC solution. Below are my doubts:
       1) In single instance, using RMAN Backup to create the Physical Standby, i have to create manually a static Listener Entry. But in a RAC env, the listener is a resource, so, i have to create that resource in the Clusterware manually, or there is other approach?
       2) I have to create a pfile and start the instance in NOMOUNT mode, but in RAC, i have to start all the nodes in NOMOUNT, or just one node is sufficient?
       3) The archives will be replicated from FRA to FRA. Is this the best approach?
       My main concern is with the Listener and SCAN questions... If you have any considerations, they will be most welcome.
       Thanks in advance.

    Following link might be helpful
    http://www.oracledba.org/11gR2/dr/11gR2_dataguard_RAC_to_RAC.html

  • 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

  • BRARCHIVE backup for high volume offline redo log files on Standby Database

    Hi All,
    We are through with all of Standby database activity, also started applying the offline redo log files on the Standby site.
    The throughput is not utilizing the actual available bandwith.
    So we are not able to copy the offline redo files on time, as the offline redo files are piling up on the Production side.
    My query is how we can parallely copy the offline redo log files on the DR site (ie. 4-5 redo files at a time).
    Kindly guide for the same.
    Regards,
    Shaibaz

    hi,
    I have one doubt.
    On other server (r3qas) the Umask settings are as followed
    User     UMASK value
    <sid>adm          077              
    ora<SID>           077
    root                   077
    Running SAP System :   SAP R3 4.6C
    Running DBMS          :  Oracle 9.0
    Operating System      :- HP_UX
    On this system The new offline redo log files are created with 600 permissions. There is not a problem here, while taking the backup. I checked last "r3qas-archive" backups. There, i have not found any single error related to permissions, or any others (something like, Cannot open /oracle/RQ1/../.........dbf).
    If everything is working fine, with this umask setting on this server, then, what's going wrong with the BW Quality server, which have the same umask settings (also others) for all the concerned users, as mentioned above.
    Regards,
    Bhavik Shroff

  • Configuring a physical standby database in 9i

    Hi all,
       SO: Solaris 10 SPARC x64
       DB: 9.2.0.6 x64
       I have a task of creating a physical standby database in a solaris 10 - Oracle 9.2.0.6 env. I am used to do this configuration on the 11.2 version of Oracle, and because of that i have some doubts regarding the possible different configurations necessary to do in a 9i Database.
       1) The main doubt that i have is regarding the RMAN use. I Would like to know if it is possible to restore a normal backup of my primary database into the standby database, and after that, apply the necessary archived logs to sync the standby with the primary? The controlfile that i would use would be the one created by the  "BACKUP CURRENT CONTROLFILE FOR STANDBY" RMAN command. The RMAN script woulb be like the one below:
    run {
    allocate channel ch01 device type disk;
    allocate channel ch02 device type disk;
    allocate channel ch03 device type disk;
    allocate channel ch04 device type disk;
    restore controlfile from 'standby_controlfile.ctl';
    sql 'alter database mount';
    restore database;
    recover database;
       2) The directory structure will be the same, so i think it is not necessary to use the SET NEWNAME and the DB_FILE_NAME_CONVERT/LOG_FILE_NAME_CONVERT, is that correct?
       3) Do you have any other considerations regarting the differences between a 9i and a 11g Physical Standby Configuration?
    Thanks for your attention and pacience.

    Hello;
    On question 1 - See this:
    http://docs.oracle.com/cd/B10500_01/server.920/a96566/rcmstand.htm
    On question 2 - Assuming RMAN work then DB_FILE_NAME_CONVERT/LOG_FILE_NAME_CONVERT would NOT have to be set for the same directory structure.
    On question 3 - double check this:
    http://docs.oracle.com/cd/B10500_01/server.920/a96653.pdf
    Best Regards
    mseberg

  • Ora-1666 on standby database

    Hi All,
    I have configured data guard on windows server 2003 platform with primary on 1 server and standby on another server. Oracle is of version 9i with exact release 9.2.0.6.0. I have enabled archived log on primary, modified init file with log_destinations, created password file, created control file and copied all these dbf files, redo log files, archived log files, control file, password files to standby server while the primary db is down. After copying all the required files on standby i tried to mount the standby but getting an error as ORA-01666: controlfile is for a standby database on the standby.
    Where as in the primary db alert log file an error is logged as Errors in file d:\oracle\admin\primary\bdump\primary_arc0_4240.trc: ORA-12500: TNS:listener failed to start a dedicated server process but i can do tnsping successfully from primary to standby and vice-versa and on standby ORA-1666 signalled during: ALTER DATABASE MOUNT...
    The things I suspect are Standby redo logs, Instance_name. I haven't created any standby logs on primary and i doubt whether it's mandatory to create on primary and standby db's or only in primary db pls let me know, i am confused of the standby logs because of these lines in document +(CREATE STANDBY REDO LOG FILES, IF NECESSARY (PRI+SEC)
    In this customer’s case, the customer chose not to use standby redo logs (SRLs), which are not required in Maximum Performance mode. However, if you decide to use SRLs, you would create them on both sites. You cannot create them on the primary database prior to the backup used to create the standby database because the SRLs on the standby must be empty of primary database redo data.)+.
    Instance_name parameter: we don't have this parameter in oracle10g where db_name and db_unique_name plays the role. Here in oracle9i is this Instance_name needs to be same on both primary and standby db's (i.e. primary on both db's or primary for primary and standby for standby?)
    Earlier i have configured this dataguard setup in solaris platform of oracle version 10g where i have created standby logs on primary db alone and logs are applying on standby and it's working fine.
    * please review the below parameters and let me know if i am missing something*
    tnsping from primary
    C:\Documents and Settings\Administrator>tnsping standby
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.6.0 - Production on 25-JAN-20
    12 20:15:48
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Used parameter files:
    D:\oracle\ora92\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = standbyIP )(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = standby)))
    OK (110 msec)
    tnsping from standby
    C:\Documents and Settings\Administrator>tnsping primary
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.6.0 - Production on 25-JAN-20
    12 20:17:17
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Used parameter files:
    D:\oracle\ora92\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = primaryIP )(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = primary)))
    OK (110 msec)
    Primary init file
    *.aq_tm_processes=0
    *.background_dump_dest='D:\oracle\admin\primary\bdump'
    *.compatible='9.2.0.0.0'
    *.control_files='D:\oracle\oradata\primary\control01.ctl','D:\oracle\oradata\primary\control02.ctl','D:\oracle\oradata\primary\control03.ctl'
    *.core_dump_dest='D:\oracle\admin\primary\cdump'
    *.db_block_size=16384
    *.db_cache_size=83886080
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_files=96
    *.db_name='primary'
    *.dg_broker_start=TRUE
    *.enqueue_resources=2000
    *.fal_client='primary'
    *.fal_server='standby'
    *.fast_start_mttr_target=300
    *.hash_join_enabled=TRUE
    *.instance_name='primary'
    *.java_pool_size=115343360
    *.job_queue_processes=10
    *.large_pool_size=0
    *.log_archive_dest_1='LOCATION=D:\oracle\archive-logs\primary\archivelog'
    *.log_archive_dest_2='SERVICE=standby LGWR ASYNC'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_format='log_%t_%s.arc'
    *.max_enabled_roles=128
    *.nls_date_format='DD-MON-RRRR'
    *.nls_date_language='AMERICAN'
    *.nls_language='AMERICAN'
    *.nls_numeric_characters='.,'
    *.open_cursors=200
    *.optimizer_mode='CHOOSE'
    *.os_authent_prefix='OPS$'
    *.pga_aggregate_target=25165824
    *.processes=150
    *.query_rewrite_enabled='FALSE'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.remote_os_authent=TRUE
    *.shared_pool_size=115343360
    *.sort_area_size=3000000
    *.star_transformation_enabled='FALSE'
    *.timed_statistics=TRUE
    *.undo_management='AUTO'
    *.undo_retention=10800
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='D:\oracle\admin\primary\udump'
    *.utl_file_dir='*'
    * standby init file*
    *.aq_tm_processes=0
    *.background_dump_dest='D:\oracle\admin\standby\bdump'
    *.compatible='9.2.0.0.0'
    *.control_files='D:\oracle\oradata\standby\standby.ctl'
    *.core_dump_dest='D:\oracle\admin\standby\cdump'
    *.db_block_size=16384
    *.db_cache_size=83886080
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_files=96
    *.db_name='primary'
    *.dg_broker_start=TRUE
    *.enqueue_resources=2000
    *.fal_client='standby'
    *.fal_server='primary'
    *.fast_start_mttr_target=300
    *.hash_join_enabled=TRUE
    *.instance_name='standby'
    *.java_pool_size=115343360
    *.job_queue_processes=10
    *.large_pool_size=0
    *.log_archive_dest_1='LOCATION=D:\oracle\archive-logs\standby\archivelog'
    *.log_archive_dest_2='SERVICE=primary LGWR ASYNC'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='DEFER'
    *.log_archive_format='log_%t_%s.arc'
    *.max_enabled_roles=128
    *.nls_date_format='DD-MON-RRRR'
    *.nls_date_language='AMERICAN'
    *.nls_language='AMERICAN'
    *.nls_numeric_characters='.,'
    *.open_cursors=200
    *.optimizer_mode='CHOOSE'
    *.os_authent_prefix='OPS$'
    *.pga_aggregate_target=25165824
    *.processes=150
    *.query_rewrite_enabled='FALSE'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.remote_os_authent=TRUE
    *.shared_pool_size=115343360
    *.sort_area_size=3000000
    *.star_transformation_enabled='FALSE'
    *.timed_statistics=TRUE
    *.undo_management='AUTO'
    *.undo_retention=10800
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='D:\oracle\admin\standby\udump'
    *.utl_file_dir='*'
    Regards
    Hari

    Primary output
    SQL> select error_code,message from v$dataguard_status;
    ERROR_CODE
    MESSAGE
    0
    ARC0: Archival started
    0
    ARC1: Archival started
    0
    Creating archive destination LOG_ARCHIVE_DEST_2: 'standby'
    ERROR_CODE
    MESSAGE
    12500
    LGWR: Error 12500 creating archivelog file 'standby'
    0
    LGWR: Completed archiving log 3 thread 1 sequence 7
    0
    ARC0: Evaluating archive log 2 thread 1 sequence 6
    ERROR_CODE
    MESSAGE
    0
    ARC0: Beginning to archive log 2 thread 1 sequence 6
    0
    Creating archive destination LOG_ARCHIVE_DEST_1: 'D:\ORACLE\ARCHIVE-LOGS\primary\A
    RCHIVELOG\LOG_1_6.ARC'
    0
    ARC0: Completed archiving log 2 thread 1 sequence 6
    ERROR_CODE
    MESSAGE
    9 rows selected.
    SQL> select thread#,max(sequence#) from v$archived_log group by thread#;
    THREAD# MAX(SEQUENCE#)
    1 6
    standby
    SQL> select thread#,max(sequence#) from v$archived_log group by thread#;
    no rows selected
    SQL> select thread#,max(sequence#) from v$archived_log where applied='YES' group
    by thread#;
    no rows selected
    SQL>
    trace file:
    Dump file d:\oracle\admin\primary\bdump\primary_arc0_4240.trc
    Wed Jan 25 19:45:07 2012
    ORACLE V9.2.0.6.0 - Production vsnsta=0
    vsnsql=12 vsnxtr=3
    Windows 2000 Version 5.2 Service Pack 2, CPU type 586
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    Windows 2000 Version 5.2 Service Pack 2, CPU type 586
    Instance name: primary
    Redo thread mounted by this instance: 1
    Oracle process number: 11
    Windows thread id: 4240, image: ORACLE.EXE
    *** 2012-01-25 19:45:07.598
    *** SESSION ID:(11.1) 2012-01-25 19:45:07.364
    Error 12500 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'standby'
    Error 12500 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'standby'
    Heartbeat failed to connect to standby 'standby'. Error is 12500.
    *** 2012-01-25 19:45:07.676
    kcrrfail: dest:2 err:12500 force:0
    ORA-12500: TNS:listener failed to start a dedicated server process
    *** 2012-01-25 19:51:07.987
    Error 12500 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'standby'
    Error 12500 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'standby'
    Heartbeat failed to connect to standby 'standby'. Error is 12500.
    *** 2012-01-25 19:51:08.049
    kcrrfail: dest:2 err:12500 force:0
    ORA-12500: TNS:listener failed to start a dedicated server process
    *** 2012-01-25 19:57:08.261
    Error 12500 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'standby'
    Error 12500 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'standby'
    Heartbeat failed to connect to standby 'standby'. Error is 12500.
    *** 2012-01-25 19:57:08.355
    kcrrfail: dest:2 err:12500 force:0
    ORA-12500: TNS:listener failed to start a dedicated server process
    *** 2012-01-25 19:59:08.563
    Error 12500 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'standby'
    Error 12500 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'standby'
    Heartbeat failed to connect to standby 'standby'. Error is 12500.
    *** 2012-01-25 19:59:08.626
    kcrrfail: dest:2 err:12500 force:0
    ORA-12500: TNS:listener failed to start a dedicated server process
    *** 2012-01-25 20:01:08.820
    Error 12500 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'standby'
    Error 12500 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'standby'
    Heartbeat failed to connect to standby 'standby'. Error is 12500.
    *** 2012-01-25 20:01:08.883
    kcrrfail: dest:2 err:12500 force:0
    ORA-12500: TNS:listener failed to start a dedicated server process
    *** 2012-01-25 20:06:09.190
    Error 12500 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'standby'
    Error 12500 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'standby'
    Heartbeat failed to connect to standby 'standby'. Error is 12500.
    *** 2012-01-25 20:06:09.253
    kcrrfail: dest:2 err:12500 force:0
    ORA-12500: TNS:listener failed to start a dedicated server process
    *** 2012-01-25 20:12:09.698
    Error 12500 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'standby'
    Error 12500 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'standby'
    Heartbeat failed to connect to standby 'standby'. Error is 12500.
    *** 2012-01-25 20:12:09.776
    kcrrfail: dest:2 err:12500 force:0
    ORA-12500: TNS:listener failed to start a dedicated server process
    *** 2012-01-25 20:18:10.069
    Error 12500 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'standby'
    Error 12500 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'standby'
    Heartbeat failed to connect to standby 'standby'. Error is 12500.
    *** 2012-01-25 20:18:10.132
    kcrrfail: dest:2 err:12500 force:0
    ORA-12500: TNS:listener failed to start a dedicated server process
    *** 2012-01-25 21:02:11.811
    Error 12500 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'standby'
    Error 12500 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'standby'
    Heartbeat failed to connect to standby 'standby'. Error is 12500.
    *** 2012-01-25 21:02:11.889
    kcrrfail: dest:2 err:12500 force:0
    ORA-12500: TNS:listener failed to start a dedicated server process

  • DBV-0200,block already marked corrupted on physical standby database

    Dear all,
    we are facing the problem of *'DBV-200 that is block already marked corupted on standby database'* on all index datafile, we facing this error in oracle 10.2.0.3 version of database when we are running dbv utility.
    but this error can't found on our production database. It is only on standby database.
    We canot find the root cause of this error so any body tell me the cause and solution on this.
    Thanks
    Kiran Rane.

    Hi Ravi,
    i checked all indexes on our primary database some indexes is in logging mode and more than half indexes is in nologging mode but i have some doubt about index logging and nologging mode,
    when our primary database is running on 9.2.0.8 version of database this kind of error not observe but after upgrading to 10.2.0.3 version of database we are getting this kind of error so if this version having some bugs or for avoiding this error any patch is available. so tell me what is the exact reason behind this error.
    Thanks
    Kiran Rane.

  • Tnsnames.ora / listener.ora files on Oracle Standby Database

    Hi I am configuring an Oracle Standby Database to my production system 4.7 and Oracle 9.2.0.4
    My production server is: PR01
    Database SID: PRD
    Standby database server is: PRDR
    Database SID: PRD
    I have already configured the server to a standby database offline backup. Was generated the control files of the standby database and the database is in standby mode.
    Now I will create a script to start the synchronization of offline redolog from the production server to standby server.
    I have a question: in the document SAP Oracle Standby Database, tells me I should change the tnsnames.ora production server pointing to an additional entry disaster recovery server. The tnsnames.ora  file must have two entries???  corresponding to a production server and another to the disaster recovery server??
    In several links of oracle tells me I should configure listener.ora disaster recovery server that is true??
    Guys my question is: where should I change my listener.ora and tnsnames.ora files?
    Please clear my doubt.
    Best regards,
    Desiree

    Hi Desiree,
    The entry in your TNSNAMES.ORA is a nothing but a tns service, when you define archive log destination it will point to a service. This service's host name will be resolved in your tnsnsmaes.ora file.
    Below is the eg of an entry in pfile:
    *.log_archive_dest_2='SERVICE=<service_name> ARCH OPTIONAL'
    Below is the entry in your tnsnames.ora file
    <service_name>.WORLD=
      (DESCRIPTION = (ADDRESS_LIST = (ADDRESS =
              (COMMUNITY = SAP.WORLD)
              (PROTOCOL = TCP)
              (HOST = <DR_HOST>)
              (PORT = 1527)
        (CONNECT_DATA =
           (SID = <DB_SID>)
           (GLOBAL_NAME = <DB_SID>.WORLD)
    So, your tnsnames.ora will have one entry for your host and the other for the DR host, i.e two entries.
    Listener entry for the convenience when there is a switch over.
    Regards,
    Bala

  • 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

  • Implementing Oracle StandBy Database - Suggestion & Tips needed Pls.

    Dear Sir,
    With rerefence to high availability of our database, we would like to implement a standby database. Regarding this, i have few doubts and request all you expert to pls. help me out. This goes like this:
    1. What is DataGuard.? Is it Separate product in Oracle or Part of Oracle Database Server - Enterprise Edition.?
    2. Is standby database implemented / created ONLY using DataGaurd?
    3. Do we need to buy another license for Oracle Database when i go for implementing StandBy Database.?
    Basically we want if my main production server is down, it should automatically go to my StandBy database and does not stop my application. This is possible i feel by implementing Standby database. And we are thingking to do it. In that respect, we have above query.
    I would request if somebody could be guide us and help.
    Thanks.
    Regards,
    Kamesh Rastogi

    you can get DATAGUARD in Oracle Database Enterprise Edition !!
    this is script for Craeting Standby DB!!
                   Creating Standby Database
    Primary Server Configuration
    1.In the TNSNAMES.ORA of Primary DB add the entry of the Standby DB
    IRCSSTDB(This is the service name in Primary DB to connect to Standby DB) =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = IRDBACK)(PORT = 1512))
    (CONNECT_DATA =
    (SERVICE_NAME = IRCS(This is the actual INSTANCE name of Running DB on Standby DB)
    2. There is no need to Make any Changes in the Listener.ora of PRIMARY DB
    Keep LISTENER.ORA of Primary as it is
    Copy Listener.ora from Primary DB to Standby DB and make following changes
    Delete All the Extra Existing listeners.
    (These Modifications are for the STANDBY DB)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = IRDBACK)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /ora01/app/oracle/product/9.2.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = IRCS)
    (ORACLE_HOME = /ora01/app/oracle/product/9.2.0))
    3.In the INIT.ORA of Primary DB add Following…
    log_archive_dest_2 = "service=STBY optional/Mandatory scope=BOTH"
    log_archive_dest_2 = Enable
    log_archive_min_succeed_dest = 2
    We can skip this & Dynamically add with the SQL*PLUS..
    Standby DB Server Configuration
    1.In the TNSNAMES.ORA of Standby DB add the entry of the Primary DB
    primary1(ISSL)(This is the service name in Standby DB to connect to Primary DB)=
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp) (PORT=1521) (HOST=PRIMARY MACHINE NAME))
    (CONNECT_DATA=(SERVICE_NAME=IRCS(This is the actual INSTANCE name of Running DB on Primary DB)
    2.Copy Listener.ora from Primary DB to Standby DB and make following changes
    Same as Above
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = IRDBACK)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /ora01/app/oracle/product/9.2.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = IRCS)
    (ORACLE_HOME = /ora01/app/oracle/product/9.2.0))
    3. Connecting to an Idle instance..
    1.C:\ oradim –NEW –SID ircs –INTPWD pwdfilename –STARTMODE auto –pfile E:\oracle\oradata\pfile\init.ora
    2.     C:\ set oracle_sid=IRCS
    3.     C:\ sqlplus /nolog
    4.     SQL:>connect sys/ircl as SYSDBA
    5.     SQL:>startup nomount pfile= E:\oracle\oradata\pfile\init.ora
    6.     SQL:> alter database mount standby database;
    7. SQL :> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE;
    4. we can also add these parameter in INIT.ORA of Standby DB
    1.standby_archive_dest= /u00/app/oracle/admin/sec/arch (Same path as in
    (log_archive_dest_1) in init.ora
    2. Fal_client=standby1 (Service Name)
    3. Fal_server=primary1 (Service Name)
    Troubleshooting….
    1. Check Init.ora of Primary DB
    2. Try to open Standby Database in normal mode try to connect it with normal user from different Machine.
    3.check *.logs file on Standby Database
    4.Check v$archive_dest on Primary DB
    5. lsnrctl services <listener name>….For Checking Listener, for service

  • 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

  • Standby database erros

    hai
    i was trying to create a standby database in the same machine but iam getting certain errors .so help me to solve thsese errors
    my doubts are
    1)since iam creating the standby database on same machine is it necessary to create new tnsnames.ora and listener.ora for the new standby database or i can use the same tnsnames.ora and listener.ora existing for primary source database
    2)i edited the listener.ora provided in a article and i stopped the listener and restarted the listener listener.ora(according to the article) but iam unable to stop the listener.ora .it throws the errror message as listener name not found
    and err message is unable to stop the listener successfully.
    3)i tried to solve the error but unable to solve, when i skipped the 2nd step and i tried to create the standby controlfile as per the document given .i gave the command as
    alter database create standby controlfile as '/usr/cont_sb01.ctl'
    after this i connect to my standby and gave the command putting the standby in nomount stage
    'alter database mount standby controlfile'
    but i get the error as unable to find the standby sid stby in controfile.
    since the standby controfile is a binary file i cannot edit it .so now how can i enter the standby database sid name in the standby controlfile .
    plz help me to solve these errors.
    Thanks and Regards
    Ila

    Hi..
    Can you provide the database version and the OS info???
    )since iam creating the standby database on same machine is it necessary to create new tnsnames.ora and listener.ora for the new standby database or i can use the same tnsnames.ora and listener.ora existing for primary source databaseYou can use the same tnsnames.ora and the listener.ora file
    i edited the listener.ora provided in a article and i stopped the listener and restarted the listener listener.ora(according to the article) but iam unable to stop the listener.oraWhich article??? You said you stopped the listener and then restarted and again you write you are unable to stop...
    I would highly recommend you to go through
    [http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ps.htm#i63561]
    [http://advait.wordpress.com/2007/06/12/setting-up-oracle-dataguard-for-10g/]
    Anand

Maybe you are looking for

  • HELP - BBM does not work on Playbook (Bridged)

    Hi Folks, Looked into other threads but all problems seem to be related to older versions. I am new to the whole Blackberry Lifestyle. Currently own, Playbook (wireless) and Torch 9860 for about two weeks - enjoying them independently. ANY HELP would

  • What internal hard drive can I get with 2007 Mac Pro?

    Hello, I own a Mac Pro that I purchased sometime Early 2007 and I want to add an additional internal hard drive. I am a little confused as to what my options are after visiting the Apple online store. It seems they do not have a choice for 1 TB drive

  • Is it possible to launch a Screen Personas screen from an ABAP WebDynpro application?

    I am running SAP EHSM Incident Management within SAP Portal. EHSM has an ABAP WebDynpro frontend based on BOPF/FPM In the same portal session for a single user, we want to be able be in an active record in EHSM and then launch a screen personas scree

  • JPanel displaying

    Hi folks! We built a swing based application: a JFrame containig a JPanel containing a JButton. We packaged our classes in a jar file (the main class and two other secondary classes) to be run on a Win2000 Server S.P. 2 machine with JVM 1.4.0. When t

  • Lightroom 3 not finding my images on new External Drive I copied them in the MAC finder..bad I know

    I recently bought a larger external drive and did a copy of all my files, including my catalog, via my MAc finder..I know now this was a clumsy way to do things. I don't want to go through another copy session within LR.lotsa files. I've done "find m