Your experience about Standby Database (Logical).

Hi,
As expressed in the subject of the thread, I'd like to get some feedback about Logical Standby.
One of the databases (A) here has a setup with a Physical Standby (B). In order to lighten the workload on A, i want to "upgrade" B to a Logical Standby. The procedure is already defined, tested and functionnal. But as I never managed a Logical Standby, it would be great if you could share your experience about:
1/ A's workload: Will there be a big overhead due to log treatments (and supplemental log data)?
2/ LAS: Will it take longer to apply an archived redo log to Logical B than it takes on the Physical B?
3/ I can't set the hardware on B's host to the same level as it's on A's host.
A has (6cpu, 20GiB RAM, half for SGA)
Physical B has (2cp, 9GiB RAM, 5GiB for SGA)
Logical B will have (3cpu, 12GiB RAM, xxxGiB SGA)
The load on B will be very very less than it is on A. Knowing A perfs is O.K., will B perf on reporting be O.K.?
4/ my target for backup is now B. When the "upgrade" will be finished, would you advise to continue the backup on the Logical Standby, or to switch to a backup via (RMAN/HotBackup/...) ?
5/ Any other advice you could give :-)
Thanks,
Yoann.

Hi Yoann,
Some time ago I created a logical database for Oracle 9.2.0.4 db on RH Linux then on 9.2.0.6 ver (same OS). It was very tempting to decrease loading on primary database through using logical standby, but It was not moved to production. I stuck with some problems when transactions stopped because of some inconsistency (I used transaction consistency set to NONE because of performance) and there were a couple of them between a hundred of tables. After that I tried to create a database link upon the primary database, but it was not apt to use with the same procedures to execute.
Regarding questions:
1. I did not find the big overhead, but a lot of additional actions should be done due to maintenance tables w/o PK on LGSTBY
2. Difficult to say ...
3. I had LGSTBY half of power of primary
4. I will not you advise to backup LGSTBY because of some possible problems with transactions, maintenance etc. better to use RMAN on primary or physical standby
5. Try to test 10g logical standby (I have read that there is no need to freeze the primary database during logical standby creation)
Hope this helps,
Andrey

Similar Messages

  • ORA-01578 about standby database in read only mode

    Hi,
    I have an ORA-05178 (data block corrupted) about a standby database which in read-only mode. About production database, there is no problem.
    After analyze, this is an index segment :
    SELECT segment_name , segment_type , owner , tablespace_name
    FROM sys.dba_extents
    WHERE file_id = 58
    AND 218173 BETWEEN block_id and block_id + blocks -1
    SEGMENT_NAME SEGMENT_TYPE OWNER TABLESPACE_NAME
    SICINHIS01 INDEX MOWIN IDX_DATA01
    There is no constraint.
    How can I repair this problem ?
    Nicolas

    Hi,
    I have an ORA-05178 (data block corrupted) about a standby database which in read-only mode. About production database, there is no problem.
    After analyze, this is an index segment :
    SELECT segment_name , segment_type , owner , tablespace_name
    FROM sys.dba_extents
    WHERE file_id = 58
    AND 218173 BETWEEN block_id and block_id + blocks -1
    SEGMENT_NAME SEGMENT_TYPE OWNER TABLESPACE_NAME
    SICINHIS01 INDEX MOWIN IDX_DATA01
    There is no constraint.
    How can I repair this problem ?
    Nicolas

  • About standby database

    Hi all,
    I am beginner in oracle standby database.
    Can anyone please explain me in steps that what happen in primary and standby side when we execute following command in standby database.(means how new logs identify,transfer and apply on standby side.)
    alter database recover managed standby database disconnect from session;

    I am beginner in oracle standby database.
    Can anyone please explain me in steps that what happen in primary and standby side when we execute following command in standby database.(means how new logs identify,transfer and apply on standby side.)
    alter database recover managed standby database disconnect from session;When you give this command from standby, It will start Media Recovery Process(MRP),
    According to the applied sequence on standby which information fetched from controlfile, It tries to apply the next sequence. "ex: elect max(sequence#) from v$archived_log where applied='YES';"
    However if connection established between primary & standby without this MRP, archives will be shipped from primary to standby.
    If in case archives not exist in archive location, It tries to get archives(FAL) using FAL_SERVER mentioned TNS service. Once whenever archives are arrived according to the needed
    sequence it will apply.
    HTH.

  • Data block corrupted on standby database (logical corruption)

    Hi all,
    we are getting the below error on our DRSITE,it is MANUAL PHYSCIAL STANDBY DATABSE...
    The following error has occurred:
    ORA-01578: ORACLE data block corrupted (file # 3, block # 3236947)
    ORA-01110: data file 3: '/bkp/oradata/orcl_raw_cadata01'
    ORA-26040: Data block was loaded using the NOLOGGING option
    I have checked in the Primary database, that there are some object which are not being logged into the redo logfiles.....
    SQL> select table_name,INDEX_NAME,logging from dba_indexes where logging='NO'
    TABLE_NAME INDEX_NAME LOG
    MENU_MENUS NUX_MENU_MENUS_01 NO
    MENU_USER_MENUS MENU_USER_MENUS_X NO
    OM_CITY IDM_OM_CITY_CITY_NAME NO
    OM_EMPLOYER                    EMPLR_CODE_PK                  NO
    OM_EMPLOYER                    IDM_EMPLR_EMPLR_NAME           NOOM_STUDENT_HEAD OM_STUDENT_HEAD_HEAD_UK01 NO
    OT_DAK_ENTRY_DETL DED_SYS_ID_PK NO
    OT_DAK_ENTRY_HEAD DEH_SYS_ID_PK NO
    OT_DAK_ENTRY_HEAD IDM_DEH_DT_APPL_REGION NO
    OT_DAK_ENTRY_HEAD IDM_DEH_REGION_CODE NO
    OT_DAK_REFUNDS_DETL DRD_SYS_ID_PK NO
    TABLE_NAME INDEX_NAME LOG
    OT_MEM_FEE_COL_DETL IDM_MFCD_MFCH_SYS_ID NO
    OM_STUDENT_HEAD IDM_STUD_COURSE NO
    13 rows selected.
    so the main problem is in the OM_EMPOYER tables if i would delete the indexes from that table recreate it again with the logging clause,and then apply the archvied logs to the DRSITE.WILL THE problem will resolve.
    Pls suggest me...

    Hi..
    Firstly how did you confirm that it was that index only.Can you post the output of
    SELECT tablespace_name, segment_type, owner, segment_name
    FROM dba_extents WHERE file_id = 3 and 3236947 between block_id
    AND block_id + blocks - 1;
    This query can take time, if are sure that its the index don't fire this command .
    Secondly, when you will drop and recreate the index, it will be logged into the redo logfile.This information will be be logged in to an the archivelog file as its the replica of the redo logfile. Then when you apply this archive log maually, it will drop that index and then recreate it using the same sql.
    HTH
    Anand

  • Connection to readonly standby database

    Is it possible to connect to a readonly standby database with sql developer>
    I am not having much luck at the moment.
    regards
    Alan

    Hi Alan,
    I have no experience with standby databases, but the same Basic type SQL Developer connection works just fine on a non-standby database whether it is open read write or read only.
    Assuming someone with standby experience sees your question, you may want to give additional details about what you have tried in terms of your Connection Type and connect info. Are you able to connect to the standby using SQL*Plus?
    Quickly glancing over some documentation on standby database, I see that there are logical and physical standby's, managed and non-managed, primary and standby with/without SQL*Net connections between them, etc, so possibly additional details on your specific configuration may be relevant.
    Regards,
    Gary

  • Upgrading Standby Database

    Hello Expert !!
    Once again I need you expert advice. We have a production database on 9.2.0.5, which we would like to upgrade to 10.2.0.3. A Physical Data Guard configuration is present for this database. The size of the database is more than 1 TB.
    Upgrading Primary database is straight forward but how do I upgrade the standby database and continue the Data Guard configuration.
    While upgrading the primary we would startup database with upgrade option and then startup-shutdown database couple of times. While upgrading standby how do I startup-shutdown it? (I mean normally we would normally mount the database and then open it as standby database and then place it in recovery mode).
    Thanks for sharing your expertise !!!
    Regards

    Please read it, rather than asking others to abstract it for free.
    This is a forum where people exchange their experiences, if you are really looking to make money then please this is not the place you should be in.
    If you are not capable enough or haven't performed yourself then its better to be quiet.
    Metalink document (Note Id: 316889.1 Complete checklist for manual upgrades to 10gR2) discusses on upgrading from 9i to 10g but unfortunately doesn't mention a word about Standby Databases. So, I was looking for people who has actually performed the upgrade themselves and who could actually point to a URL which discusses more on this issue. I dont want you to walk-in and perform the upgrade for me.
    Please, never ever take time to answer any of my questions. Remember my username "Oracle_Lover".
    Thanks anyways....

  • Multiple Standby Databases on same RAC nodes.

    We have a 3 node Oracle 10gR2 RAC production environment on site A and a 3 node Oracle 10g RAC standby environment on site B. Both use like HW and OS - HP BL45p with RHEL AS 4.x.
    Can we have heterogeneous standby databases(logical and physical) running on the same RAC nodes?
    Can the 2 apply processes (MRP-manageed recovery process & LSP-logical standby process) coexists on the same set of nodes in a cluster at the same time. Are there any conflicts or limitations?
    Is there any documentation that supports this?

    Would Active Data Guard give you the best of both worlds?
    The caveat might be your SID_LIST_LISTENER setup.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (global_dbname = <database1>_DGMGRL.yourdomain)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0)
    (sid_name = <database1>)
    (SID_DESC =
    (global_dbname = <database2>_DGMGRL.yourdomain)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0)
    (sid_name = <database2>)
    I have a server with ten standbys on it currently and no issues.
    As long as the version is the same you should be good.

  • What is the best way to install standby database?

    Hello.
    I'm trying to develop a good scenario for implementing standby database. I've already installed and configured standby. It's working.
    Is there any best practice for installing database instance for standby (i.e. using SWPM)?

    Hi
    If you are talking about an oracle standby database, logic assumption as you are posting in the Oracle space, SWPM won't help you, it is meant for installing SAP instance.
    For an Oracle standby DB you need to install an Oracle instance and restore the master DB on it.
    Regards
    http://docs.oracle.com/cd/E11882_01/server.112/e17022/rcmbackp.htm
    http://www.pythian.com/blog/creating-a-physical-standby/

  • Standby Database 9i

    Hi,
    Could someone help me to find more info about "Standby Database" on Oracle 9i? I am interested in using this concept into our company recovery system but I would need technical details about how to configure it. (I don't find anything on oracle books)
    If someone has some experience using it as a "disaster protection" its opinion would be very valuable. Thanks.
    Definition of standby database "A copy of a production database that you can use for disaster protection. You can update the standby database with archived redo logs from the production database in order to keep it current. If a disaster destroys the production database, you can activate the standby database and make it the new production database."

    http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96653/toc.htm

  • Streams on a standby database

    Does anyone know if Streams can be implemented on a standby database (logical or physical stnadby)? In other words, can a standby database be the source or primary database for streams?

    Additional inforamtion for my posted question below:
    Can Stream be implemented on a logical standby database? For example, use Stream to replicate one schema objects (tables and indexes ..) from an remote database to a logical standby database of a different primary database?
    In this case, the remote database will be the source database and the logical standby database will be the destination database.
    Thanks in advance!

  • DB name Change --- Required to reconfigure standby database

    Dear All,
    Is it necessary to reconfigure standby database after changing database name.
    DB Version :--- 10.2.0.1.0
    OS :--- Windows
    Waiting for reply.
    Regards,
    Praful Kawaji

    Dear praful kawaji,
    Your primary and standby databases should have the same DB_NAME however they have to have seperate DB_UNIQUE_NAME values. alter the parameter on both sites and you will be fine i guess.
    Hope That Helps.
    Ogan

  • CPU patch procedure with physical and logical standby database in place

    Hello All,
    I've also placed this in the Upgrades forum, but perhaps this is the best place to have put it.
    I'm trying to compile a decent set of steps for applying the CPUOCT2008 patch to our production RAC cluster which has both a logical and physical standby in place. I've read a tonne of documentation, including the CPU readme, DOCID 437276.1 and 278641.1. I''ve also read through the Upgrading Databases in a Data Guard Configuration chapter of Dataguard Concepts and Administration. The last doc mentioned is really for upgrading a full version of Oracle rather than applying a CPU (at least I think that's the case). DocID 437276.1 is rather sparse on details.
    I guess what I'm trying to understand is the proper method for applying the patch with the logical standby in place. The physical standby looks pretty straightforward. After running opatch on it as well, it will basically have all of the changes applied to the primary shipped over and applied as per the normal primary/standby relationship. Will the same be true for the logical (having applied the patch, and then re-enabling SQL apply)? Should I aim to have it work that way? By that I mean start it up and re-enable sql apply and then upgrade the primary. Or, am I to apply the catcpu.sql script to it as well before re-enabling the sql apply? Am I wrong in regards to the physical standby as well i.e. should the catcpu also be applied directly to it?
    Thanks very much in advance.
    Cheers,
    Chris
    Edited by: chris.baron on Dec 12, 2008 11:38 AM

    Given the fact that your system is far from main-stream I'd recommend opening an SR with Oracle Support Services (metalink) and asking them.
    If you would like to publish a White Paper on your experience after you have successfully completed the project let me know off-line.

  • Creating standby or logical standby database manually?

    Hi,
    I have to create 4 logical standby databases on a Linux Red Hat 64-bits server.
    The primary databases reside on another Linux Red Hat 64-bits server.
    The oracle database version is 10.2.0.3.
    The question is as follows:
    Should I create the logical standby databases manually or should I do it with the Oracle EM Grid Control?
    I have read that the creation of standby databases with the Grid Control is very straightforward, but I really want to read of some of your experiences.
    I have read that there are some problems in Grid Control with the test of Failover and Switchover.
    Please advice.

    Hi,
    It all depends.
    I assume you don't backup your database to tape using RMAN.
    Do you backup your database to disk using RMAN?
    You would need to set up NFS links from your standby server to the primary server.
    For this purpose, in 9i, I made sure my disk backup ended up in <directory>/backup/<nodename>, so I could easily set up a NFS link.
    If you do it manually, you need to have made a full database RMAN backup first.
    Probably Grid Control is taking care of this for you.
    I have done it once using database control in 10g. It is really simple, and you just have to click a few buttons and sit back.
    Doing it manually is slightly more work: you need to make sure parameters are correct and you need to write a (generic) script of less than 10 lines.
    You probably do have more control over it, though RMAN's duplicate database command is robust and can be restarted easily.
    I can't answer your last remark.
    Hth
    Sybrand Bakker
    Senior Oracle DBA

  • Restore/recover after failover to a Logical Standby database

    I have a question about how to recover or restore back to my original environment after I failover to my Logical Standby database.
    My setup is as follows: Oracle version 11.2.0.3, Non-RAC.
    1. A Primary database at one location.
    2. A Physical Standby database at a second location.
    3. A Logical Standby database at a third location.
    All three databases have Flashback Database on
    All three databases are configured thru the Data Guard Broker.
    All three databases has a Fast Recovery Area.
    Suppose I loose my primary database (1) and my Physical Standby database (3) so I Failover to my only remaining database, the Logical Standby database (2).
    What type of Databases are let after the this failover?
    What are my recover/restore/Instantiate options?
    The Data Guard Concepts book on 13.2.2 says how to bring the old Primary in to the Data Guard Configuration as a new Logical Standby database.
    How do I get back to the original configuration above, a primary, a Physical, and a Logical Standby without having to re-create some databases?
    Will Flashback database thru the Broker or Cloud Control/Grid Control rewind my databases?

    Suppose I loose my primary database (1) and my Physical Standby database (3) so I Failover to my only remaining database, the Logical Standby database (2).
    What type of Databases are let after the this failover?
    What are my recover/restore/Instantiate options? Then forget about your current primary database, its out of network.
    AFAIK
    Now you will have only Physical standby & logical standby. Now you will perform failover only current standby to primary database.
    So now you will have only one primary database with new incarnation, so you have to recreate a new standby database again.
    The Data Guard Concepts book on 13.2.2 says how to bring the old Primary in to the Data Guard Configuration as a new Logical Standby database.
    How do I get back to the original configuration above, a primary, a Physical, and a Logical Standby without having to re-create some databases?
    Will Flashback database thru the Broker or Cloud Control/Grid Control rewind my databases?Check this. But not much aware of Clound control and all. Sorry for that. ;-) I'm sure Uwe/Mseberg can answer this ;-)
    http://www.idevelopment.info/data/Oracle/DBA_tips/Data_Guard/DG_49.shtml#Flashing%20Back%20a%20Failed%20Primary%20Database%20into%20a%20Logical%20Standby%20Database

  • Creating a new schema in a Logical Standby Database

    Hi All,
    I am experimenting with logical standby databases for the purpose of reporting, and have not been able to create a new schema in the logical standby database - one of the key features of logical standbys.
    I have setup primary and logical standby databases, and they seem to be running just fine - changes are moved from the primary to the standby and queries on the standby seem to run ok.
    However, If I try to create a new schema on the logical standby, that does not exist on the primary, I get "ORA-01031: insufficient privileges" errors when I try to create new objects.
    Show below are the steps I have taken to create the new schema on the logical standby. Any help would be greatly appreciated.
    SYS@UATDR> connect / as sysdba
    Connected.
    SYS@UATDR>
    SYS@UATDR> select name, log_mode, database_role, guard_status, force_logging, flashback_on, db_unique_name
    2 from v$database
    3 /
    NAME LOG_MODE DATABASE_ROLE GUARD_S FOR FLASHBACK_ON DB_UNIQUE_NAME
    UATDR ARCHIVELOG LOGICAL STANDBY ALL YES YES UATDR
    SYS@UATDR>
    SYS@UATDR> create tablespace ts_new
    2 /
    Tablespace created.
    SYS@UATDR>
    SYS@UATDR> create user new
    2 identified by new
    3 default tablespace ts_new
    4 temporary tablespace temp
    5 quota unlimited on ts_new
    6 /
    User created.
    SYS@UATDR>
    SYS@UATDR> grant connect, resource to new
    2 /
    Grant succeeded.
    SYS@UATDR> grant unlimited tablespace, create table, create any table to new
    2 /
    Grant succeeded.
    SYS@UATDR>
    SYS@UATDR> -- show privs given to new
    SYS@UATDR> select * from dba_sys_privs where grantee='NEW'
    2 /
    GRANTEE PRIVILEGE ADM
    NEW CREATE ANY TABLE NO
    NEW CREATE TABLE NO
    NEW UNLIMITED TABLESPACE NO
    SYS@UATDR>
    SYS@UATDR> -- create objects in schema
    SYS@UATDR> connect new/new
    Connected.
    NEW@UATDR>
    NEW@UATDR> -- prove ability to create tables
    NEW@UATDR> create table new
    2 (col1 number not null)
    3 tablespace ts_new
    4 /
    create table new
    ERROR at line 1:
    ORA-01031: insufficient privileges
    NEW@UATDR>
    NEW@UATDR>

    HI Daniel,
    I appreciate your quick response.
    My choice of name may not have been ideal, however changing new to another name - like gav - does not solve the problem.
    SYS@UATDR> connect / as sysdba
    Connected.
    SYS@UATDR>
    SYS@UATDR> select name, log_mode, database_role, guard_status, force_logging, flashback_on, db_unique_name
    2 from v$database
    3 /
    NAME LOG_MODE DATABASE_ROLE GUARD_S FOR FLASHBACK_ON DB_UNIQUE_NAME
    UATDR ARCHIVELOG LOGICAL STANDBY ALL YES YES UATDR
    SYS@UATDR>
    SYS@UATDR> create tablespace ts_gav
    2 /
    Tablespace created.
    SYS@UATDR>
    SYS@UATDR> create user gav
    2 identified by gav
    3 default tablespace ts_gav
    4 temporary tablespace temp
    5 quota unlimited on ts_gav
    6 /
    User created.
    SYS@UATDR>
    SYS@UATDR> grant connect, resource to gav
    2 /
    Grant succeeded.
    SYS@UATDR> grant unlimited tablespace, create table, create any table to gav
    2 /
    Grant succeeded.
    SYS@UATDR>
    SYS@UATDR> -- show privs given to gav
    SYS@UATDR> select * from dba_sys_privs where grantee='GAV'
    2 /
    GRANTEE PRIVILEGE ADM
    GAV CREATE TABLE NO
    GAV CREATE ANY TABLE NO
    GAV UNLIMITED TABLESPACE NO
    SYS@UATDR>
    SYS@UATDR> -- create objects in schema
    SYS@UATDR> connect gav/gav
    Connected.
    GAV@UATDR>
    GAV@UATDR> -- prove ability to create tables
    GAV@UATDR> create table gav
    2 (col1 number not null)
    3 tablespace ts_gav
    4 /
    create table gav
    ERROR at line 1:
    ORA-01031: insufficient privileges
    GAV@UATDR>

Maybe you are looking for