Stanby Database on Deffierent OS

Hi
Can i have a primary database on Windows 2003 32 bit and standby database on Windows 2003 64 bit or vice versa.
Oracle version is 11.1.0.7, and will be same on both the servers.
Thanks

user9366471 wrote:
Hi
Can i have a primary database on Windows 2003 32 bit and standby database on Windows 2003 64 bit or vice versa.
Oracle version is 11.1.0.7, and will be same on both the servers.
ThanksPlease refer
MOS doc 413484.1
http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/standby.htm#i58150

Similar Messages

  • Refreshing stanby database

    hi,
    I've got stanby database and I am trying to refresh it from incremental backup of primary database, as follows
    - check CHECKPOINT_CHANGE# on standby
    - backup incremental from SCN database on primary
    - recover database noredo on standby
    everything looks fine, rman is apllying correct backupset but CHECKPOINT_CHANGE# and current_scn on standby database do not change, why? how can I check if recover was succesfu; ?
    thanks for any advice

    From the docs current_scn is not updated unless the db is open or you are in managed recovery:
    CURRENT_SCN     NUMBER     Current SCN; null if the database is not currently open. For a standby database, the current standby redo application SCN.
    you could check v$archived_log
    SELECT MAX(SEQUENCE#), THREAD# FROM V$ARCHIVED_LOG GROUP BY THREAD#;
    or even
    select group#, thread#, sequence#, status, last_change# from V$standby_log;

  • Stanby database issue : VERY URGENT

    we have stanby configured for 9.2.0.4 on AIX 5.2.0.0.Recently we added a new datafile to a tablespace in physical database in the new filesystem. But this path was not reflected in the standby database. NOw what happened is when the standby is put in recover mode it throws error datafile 4 /ora1data/dba/data1.dbf could not be found.
    Later we have reflected the same in the standby also, but still we are getting the same error.
    We have set standy_file_management=auto
    How to go with this
    kumaresan

    Is this a physical or logical standby?
    In the case of a physical standby, files added to the primary should be added automatically to the secondary DB.
    Perhaps you missed some error message in the standby alert log file. It should tell you what went wrong.

  • Applying rman backuppieces to stanby database

    Hello,
    I have an standby database 10g, which is feeded by archive logs sent from primary.
    A lot of archive logs were missed for ever, so standby needs to be recovered. For that, I applied rman incremental backups.
    Those rman backuppieces were generated on primary, then copied to standby and applied like this:
    Step 3: Cancel managed recovery at the standby database
    STDBY>alter database recover managed standby database cancel;
    Media recovery complete.
    Copied the backup files to standby server to D:\arch\ folder.
    Step 4: Catalog the Incremental Backup Files at the Standby Database
    D:\arch> rman target /
    RMAN> CATALOG START WITH 'D:\arch\';
    Step 5: Apply the Incremental Backup to the Standby Database+
    RMAN> RECOVER DATABASE NOREDO;
    Step 6: Put the standby database back to managed recovery mode.
    STDBY>> recover managed standby database disconnect;
    Media recovery complete.However, I think something went wrong. I would like to try it again.
    My question: If I apply again the same rman backup pieces on standby... does it will add records on the tables or Oracle would be know that those rman backup pieces were already applied and do nothing?
    Edited by: user521219 on 18-jun-2012 9:46

    Based on your comment "I think something went wrong" there isn't a chance I am going to offer a suggestion. Please open an SR with Oracle Support.
    For those that wonder why I won't help and are inclined to jump in with both feet ... keep in mind ... you have no idea what the original issue was ... and you have no idea what went wrong.
    To the OP: If you want help you must provide all relevant information. Some well meaning person may toast your system due to the lack of information.

  • Stanby database creation issue

    Created a my first build for a standby database on March1.
    Am lagging the standby instance 24 hrs behind the primary instance.
    At one point the lag fell up to 50 hours behind, all problems solved until today.
    alert log refs to a datafile created in primary, but was not replicated to standby. I have found documentation about taking primary Dfile offline and replicating this.
    I can't do this as its a high avail system (primary).
    I know documentation says this change did not replicate due to not having STANDBY_FILE_MANAGEMENT set to auto.
    My questions are so I can catch up to the lag are....
    Can the standby be opened up in read-write and new Dfile applied some how with out issues to come? the documentation shows how to apply manually when neither are added but predicted. But not when one in the primary has been added already.
    Or are there any further ideas to the situation?
    TIA, questions welcome

    Found my own answer
    help in recovering standby database

  • Restarting Stanby database after host crash

    Ok here is the scenario . . .
    the host for my Physical Standby database crashes . . . you know the janitor kick the plug out . . .
    How do I gracefully restart the Physical Standby database . . .
    My concern/paranoia/fear is that during the restating of the Physical Standby database that it does NOT opens as the new Primary database.
    I guess what I am looking for is the steps it takes to "restart" the Physical Standby and make sure it is in "managed standby".
    Edited by: user10260925 on Apr 6, 2010 12:54 AM

    A physical or logical standby will never open itself as a primary. If you have Fast-Start Failover configured then the Observer will make it a Primary if the requirements for the failover have been met. Otherwise you would have to manually enter the failover commands to make it a Primary database.
    As of 10g Release 1 if you do a STARTUP on a Physical standby it will open the database in read only mode if possible (i.e. the apply had been terminated cleanly). If, as would be in your case, the apply was terminated in the middle of applying then the open would fail until redo apply had been restarted and cleaned up after itself. In any case, in 10g (10.1 and 10.2) restarting the apply would close the physical standby before starting the apply. As of 11g it will not close the standby as that is what is called Active Data Guard, the Apply running while the standby is open read only.
    Now, to answer your last question, getting it into managed recovery again. If you use the Broker it will take care of that for you. If you do not use the Broker then you need to execute the ALTER DATABASE RECOVER MANAGED STANDBY DATABASE.... command manually.
    Larry

  • ORA-07445: exception encountered: core dump in Standby database

    Hello,
    This is Oracle 10.1.0 in a Logical Stanby database under Solaris9
    The apply stopped with these errors and then it started by itself:
    LOGSTDBY status: ORA-16226: DDL skipped due to lack of support
    <date>
    Errors in <trace file>
    ORA-07445: exception encountered: core dump [krvsmso()+812] [SIGSEGV] [Address not mapped to object] [0x000000004] [] []
    <date>
    Trace dumping is performing id=[cdmp_20100226210050]
    <date>
    Errors in <trace file>
    ORA-12805: parallel query server died unexpectedly
    LOGSTDBY Apply process P006 pid=67 OS id=10471 stopped
    The trace file is this one:
    *** SERVICE NAME:(SYS$BACKGROUND)
    *** SESSION ID:
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x4, PC: [0x101fb226c, krvsmso()+812]
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [krvsmso()+812] [SIGSEGV] [Address not mapped to object] [0x000000004] [] []
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    ksedmp()+1008 CALL ksedst() 000000042 ? 104C02118 ?
    104C02128 ? 000000000 ?
    1052DCE18 ? 000000008 ?
    ssexhd()+992 CALL ksedmp() 000000002 ? 000105000 ?
    10512D000 ? 00010512D ?
    000105000 ? 000000001 ?
    Has someone faced the same problem or know why and how to solve it?
    Thanks!
    Edited by: lulon on 04-mar-2010 8:20

    Bug 4369756 Log apply may dump [krvsmso]

  • How to create logical standby database?

    Hi,
    can i created logical standby database without creating physical stanby database? is it possible?
    Thanks,

    Hi,
    Creating a Logical Standby Database
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ls.htm#SBYDB00300
    Regards,
    Tom

  • Mounting a standby database with an older standby controlfile (Manual)

    Hi,
    We recently created a standby database and mounted it with a standby controlfile that was at least 1 month older than than the datafiles. The database was not taken out of recovery mode or opened. When we attempted to recovery the database using the older standby control file, it requested an archival log that was much older than SCN for the datafiles.
    My question is: Is it possible to create a new standby controlfile (CREATE STANDBY CONTROLFILE TO <file>) from the production live system and put the standby database back into recovery mode to apply newer/recent archivelogs? Or essentially has anything been corrupted?
    The database is 10.2.0.4 on Sun Solaris. Also, the this is manual standby, not automatic (RMAN).
    Thanks in advance.

    user6676819 wrote:
    Hi,
    We recently created a standby database and mounted it with a standby controlfile that was at least 1 month older than than the datafiles. The database was not taken out of recovery mode or opened. When we attempted to recovery the database using the older standby control file, it requested an archival log that was much older than SCN for the datafiles.
    My question is: Is it possible to create a new standby controlfile (CREATE STANDBY CONTROLFILE TO <file>) from the production live system and put the standby database back into recovery mode to apply newer/recent archivelogs? Or essentially has anything been corrupted?Hi.That is not possible.In your case best way is getting incremental backup from primary database and apply that into standby database then place stanby database in recover mode.To doing this see below thread.
    Re: archive log missing for standby

  • Creating a Physical Standby Database using OEM GC

    This Paper is about the creation of a physical Stanby Database using OEM GC.
    You will see that there is really nothing to it and using the Data Guard Broker, performing a switchover is as easy as 1,2,3,.
    BTW, this works in both OEM GC 10.2.0.5 and 11.1
    http://oemgc.wordpress.com/2010/07/19/creating-a-physical-standby-database-using-oem-gc/

    Thanks Rob for sharing this.
    Regards
    Rajesh

  • Add a new datafile to the standby database

    Hi,
    i have a standby database in recovery managed mode.
    Now i must add a new datafile on the production database and i would like
    to know how i realized adding the new datafile on the stanby database.
    is it right when i do the follow steps?
    Before i add a datafile to the primary database,
    cancel the recovery on the standby database.
    -> add the new datafile on the primary database
    after all archived redo logs have been applied, cancel managed recovery:
    alter database recover managed standby database cancel;
    startup nomount
    alter database mount standby database;than
    ALTER DATABASE CREATE DATAFILE '/oracle/DB1/db1_9/data9' as '/oracle/DB1/db1_9/data9';
    alter database recover managed standby database disconnect;Thanks

    8.4.1.1 Adding a Tablespace and a Datafile When STANDBY_FILE_MANAGEMENT Is Set to AUTO
    The following example shows the steps required to add a new datafile to the primary and standby databases when the STANDBY_FILE_MANAGEMENT initialization parameter is set to AUTO.
    Add a new tablespace to the primary database:
    SQL> CREATE TABLESPACE new_ts DATAFILE 't_db2.dbf'
    2> SIZE 1m AUTOEXTEND ON MAXSIZE UNLIMITED;
    Archive the current redo log so it will get copied to the standby database:
    SQL> ALTER SYSTEM ARCHIVE LOG CURRENT;
    Verify that the new datafile was added to the primary database:
    SQL> SELECT NAME FROM V$DATAFILE;
    NAME
    /disk1/oracle/dbs/t_db1.dbf
    /disk1/oracle/dbs/t_db2.dbf
    Verify that the new datafile was added to the standby database:
    SQL> SELECT NAME FROM V$DATAFILE;
    NAME
    /disk1/oracle/dbs/s2t_db1.dbf
    /disk1/oracle/dbs/s2t_db2.dbf
    8.4.1.2 Adding a Tablespace and a Datafile When STANDBY_FILE_MANAGEMENT Is Set to MANUAL
    The following example shows the steps required to add a new datafile to the primary and standby database when the STANDBY_FILE_MANAGEMENT initialization parameter is set to MANUAL. You must set the STANDBY_FILE_MANAGEMENT initialization parameter to MANUAL when the standby datafiles reside on raw devices.
    Add a new tablespace to the primary database:
    SQL> CREATE TABLESPACE new_ts DATAFILE 't_db2.dbf'
    2> SIZE 1m AUTOEXTEND ON MAXSIZE UNLIMITED;
    Verify that the new datafile was added to the primary database:
    SQL> SELECT NAME FROM V$DATAFILE;
    NAME
    /disk1/oracle/dbs/t_db1.dbf
    /disk1/oracle/dbs/t_db2.dbf
    Perform the following steps to copy the tablespace to a remote standby location:
    Place the new tablespace offline:
    SQL> ALTER TABLESPACE new_ts OFFLINE;
    Copy the new tablespace to a local temporary location using an operating system utility copy command. Copying the files to a temporary location will reduce the amount of time that the tablespace must remain offline. The following example copies the tablespace using the UNIX cp command:
    % cp t_db2.dbf s2t_db2.dbf
    Place the new tablespace back online:
    SQL> ALTER TABLESPACE new_ts ONLINE;
    Copy the local copy of the tablespace to a remote standby location using an operating system utility command. The following example uses the UNIX rcp command:
    %rcp s2t_db2.dbf standby_location
    Archive the current redo log on the primary database so it will get copied to the standby database:
    SQL> ALTER SYSTEM ARCHIVE LOG CURRENT;
    Use the following query to make sure that managed recovery is running. If the MRP or MRP0 process is returned, managed recovery is being performed.
    SQL> SELECT PROCESS, STATUS FROM V$MANAGED_STANDBY;
    Verify that the datafile was added to the standby database after the redo log was applied to the standby database.
    SQL> SELECT NAME FROM V$DATAFILE;
    NAME
    /disk1/oracle/dbs/s2t_db1.dbf
    /disk1/oracle/dbs/s2t_db2.dbf
    From Oracle Docs...

  • Check actual apply log time on standby database after synchronization

    Hi All,
    I want to check the date and time stamp of applied archived logs on stanby database. How should I check that??
    My dataguard link was broken for sometime and meanwhile lot of transactions happened on primary database. Now When the link came up the synchronisation happened within few hours and ultimatly transport and appliy lag became 0. But now I want to check actual time taken for tranporting the logs and applying them on standby database. Is there any way I could do that easily..
    Thanks

    This script written by Yousef Rifai I found here http://www.dba-village.com/village/dvp_forum.OpenThread?ThreadIdA=34772&DestinationA=RSS might be just what you need (run on standby database):
    set ver off
    alter session set nls_date_format='dd-mon-yy hh24:mi:ss'
    select app_thread, seq_app, tm_applied,
    nvl(seq_rcvd,seq_app) seq_rcvd, nvl(tm_rcvd,tm_applied) tm_rcvd
    from
    (select sequence# seq_app, FIRST_TIME tm_applied, thread# app_thread
    from v$archived_log where applied = 'YES'
    and (first_time, thread#) in (
    select max(FIRST_TIME ), thread#
    from v$archived_log where applied = 'YES'
    group by thread# )
    (select sequence# seq_rcvd, FIRST_TIME tm_rcvd, thread# rcvd_thread
    from v$archived_log where applied = 'NO'
    and (first_time, thread#) in (
    select max(FIRST_TIME ), thread#
    from v$archived_log where applied = 'NO'
    group by thread# )
    where rcvd_thread(+)= app_thread
    Best regards,
    Robert
    http://robertvsoracle.blogspot.com

  • Duplicate from Active database

    Hi,
    I have RAC primary database running in 11.2.0.3 with linux 5(dc). We also have configured RAC cluster on DR site recently.Now we need to create stanby database on DR site.
    For this is have following doubts
    My database size is 6TB(from dba_segmnets) and total is 14TB(from dba_data_files)
    1) How duplicate of active database works internally? Does it copy the exact file to standby site for example copy datafile(which is of 5GB in size) and send it over to standby over network?
    2) Both primary and standby sites are in different states, so i was thinking to backup the primary database first to tapes and then courier tapes to dr site and then finally restore and recover standby.
    I have doubts in above approaches which should i implement. I think active database duplication will skip a)backup time b) courier time. Is that correct?
    However if my database size is 14TB and using 1st method, does it send files to dr worth of 14TB size?

    I am working on active database duplication and has below issue. Can any one help me on this?
    RMAN> connect target sys@Pa305
    connected to target database: PA305 (DBID=2787277616)
    RMAN> connect auxiliary sys@Pb305
    connected to auxiliary database: PB305 (not mounted)
    RMAN> DUPLICATE TARGET DATABASE
    TO 'PB305'
    FROM ACTIVE DATABASE
    2> 3> 4> ;
    Starting Duplicate Db at 31-JUL-2012 17:20:07
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=2838 instance=PB3051 device type=DISK
    contents of Memory Script:
    sql clone "alter system set control_files =
    ''+DG_075_DATA01/PB305/controlfile/current.270.790104009'', ''+DG_075_FRA01/PB305/controlfile/current.286.790104009'' comment=
    ''Set by RMAN'' scope=spfile";
    sql clone "alter system set db_name =
    ''PA305'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
    sql clone "alter system set db_unique_name =
    ''PB305'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
    shutdown clone immediate;
    startup clone force nomount
    backup as copy current controlfile auxiliary format '+DG_075_DATA01/PB305/controlfile/current.269.790104009';
    restore clone controlfile to '+DG_075_FRA01/PB305/controlfile/current.288.790104009' from
    '+DG_075_DATA01/PB305/controlfile/current.269.790104009';
    sql clone "alter system set control_files =
    ''+DG_075_DATA01/PB305/controlfile/current.269.790104009'', ''+DG_075_FRA01/PB305/controlfile/current.288.790104009'' comment=
    ''Set by RMAN'' scope=spfile";
    shutdown clone immediate;
    startup clone nomount;
    alter clone database mount;
    executing Memory Script
    sql statement: alter system set control_files = ''+DG_075_DATA01/PB305/controlfile/current.270.790104009'', ''+DG_075_FRA01/PB305/controlfile/current.286.790104009'' comment= ''Set by RMAN'' scope=spfile
    sql statement: alter system set db_name = ''PA305'' comment= ''Modified by RMAN duplicate'' scope=spfile
    sql statement: alter system set db_unique_name = ''PB305'' comment= ''Modified by RMAN duplicate'' scope=spfile
    Oracle instance shut down
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 07/31/2012 17:20:18
    RMAN-06174: not connected to auxiliary database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    RMAN>

  • Alter tablespace RW on standby database

    I work with Oracle8i for Solaris.
    I've created a stanby database which is opened in read only.
    Now, I need to use a temporary tablespace, so
    I've tried :
    "alter tablespace temp nologging read write;"
    But, oracle answer me an ORA-16000 error (database open for read-only access).
    So :
    1) Is it possible to use a temporary tablespace in standby mode ?
    2) How.
    Thanks,
    Philippe
    null

    Hello,
    Since the table sizes is about 100GB , it takes time to move and rebuild the indexes and the end user application doesnot work if any of the index is unusable or not present.I think it will generate a lot of Archived logs, so it will be very heavy to manage and apply to your Standby.
    If it's possible, it will be faster to put your Primary database in NOARCHIVELOG mode then, you make the Move and Rebuild.
    Afterwards, you put again the Primary in ARCHIVELOG mode and take a good BACKUP of it.
    Later, when nobody work on Standby, you recreate it.
    Hope this help.
    Best regards,
    Jean-Valentin

  • Oracle 9i dataguard time lag monitoring script

    In 10g we can run below script on Standby to find out time lag between Primary  and standby .
    select name, 'ALL', substr(value,1,12) from v$dataguard_stats where name = 'apply lag' ;
    select name, 'Seconds', to_number(substr(value,11,2)) from v$dataguard_stats where name = 'apply lag' ;
    select name, 'Minutes', to_number(substr(value,8,2)) from v$dataguard_stats where name = 'apply lag' ;
    select name, 'Hours', to_number(substr(value,5,2)) from v$dataguard_stats where name = 'apply lag' ;
    select name, 'Days', to_number(substr(value,2,2)) from v$dataguard_stats where name = 'apply lag' ;
    But while running same script in oracle 9i stanby database i am getting below error;
    ORA-01219: database not open: queries allowed on fixed tables/views only
    Can i know which command i should use to monitor time lag between priamry and standby in oracle 9i?

    Hi,
    You can Query from v$archive_gap :Dynamic Performance (V$) Views, 9 of 238
    select * from v$archive_gap;
    HTH

Maybe you are looking for

  • I need to transfer video from a Sony DCR-TRV530 to iMovie11.

    I have successfully transfered my Sony-produced video tape to my older iMac, but now that I have changed to a new iMac with OS 10.8.3, I can no longer do the transfer. Apple's guidance has not helped. What do I do now?

  • Why isn't Breeze Presenter sold seperately?

    Breeze Presenter is an excellent tool that satisfies a common and growing requirement in the market (publishing voice-over presentations on websites). Unfortunately Breeze Presenter is frustratingly hard to buy as Adobe has chosen to tie the Presente

  • Database error 12170 in DBACOCKPIT in SAP MSCS enviornment

    Dear All, We have install the Production SAP netweaver 7 EHP1 Java standalone engine for portal with MSCS. Now we are trying to configure database monitoring in sap solution manager using dba cockpit the connection is configure successfully but when

  • JTabbedPane display problems

    Can someone help me with this? I have a JTabbedPane in an applet with two tabs. Lately I have noticed that when I move the mouse pointer around on one tab, some components from the other tab start to show through and I can even click on them, resulti

  • Explorer crash on windows 8.1

    windows explorerkeeps crashing. I have set debug options to produce a dump as followed: Windows Registry Editor Version 5.00 [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\Explorer.exe] "DumpFolder"=hex(2):43,00,3a