Supplemental logging with Oracle 10gR2 Streams and Data Guard

Hello,
I have a environment with Oracle DB 10gR2 and Physical Standby with Data Guard DR Conf. Right now, this environment is going to be extended to a replication schema using 2-way Oracle Streams Replication (for replication to the central office from this branch office, other branchs will be added soon). The primary DB will be replicated to the other primary DB (in the remote central office).
So, there is my question: It's completly necesary to specify Supplemental Logging on the sources databases (primaries) for setting 2-way Streams Replication?, and, if it's completly necesary, then, do I can set Supplemental Logging on primaries without affect theirs physical standbys, or do I need to do something special?
Thanks in advance.

Sorry, it's repeated. 'cus browser connection problem.

Similar Messages

  • Using OWB mappings with Oracle CDC/Streams and LCRs

    Hi,
    Has anyone worked with Oracle Streams and OWB? We're looking to leverage Streams to update our data warehouse using Streams to apply changes from the transactional/source DB. At some point we seem to remember hearing that OWB could leverage Streams, perhaps even using the Logical Change Records (LCRs) from Streams as input to mappings?
    Any thoughts much appreciated.
    Thanks,
    Jim Carter

    Hi Jim,
    We've built a fairly complex solution based on streams. We wanted to break up the various components into separate entities so that any network failure or individual component failure wouldn't cause issues for the other components. So, here goes:
    1) The OLTP source database is streaming LCR's to our Datawarehouse where we keep an operational copy of production, updated daily from those streams. This allows for various operational reports to be run/rerun in a given day with the end-of-yesterday picture without impacting the performance on the source system.
    2) Our apply process on the datamart side actually updates TWO copies of data. It does a default apply to our operational copy of production, and each of those tables have triggers that put a second copy of the data into daily partitioned tables. So, yesterday's partitions has only the data that was actually changed yesterday. After the default apply, we walk the Oracle dependency tree to fill in all of the supporting information so that yesterday's partition includes all the data needed to run our ETL queries for that day.
    Example: Suppose yesterday an address for a customer was updated. Streams only knows about the change to the address record, so the automated process would only put that address record into the daily partition. The dependency walk fills in the associated customer, date of birth, etc. data into that partition so that the partition holds all of the related data to that address record for updates without having to query against the complete tables. By the same token, a change to some other customer info will backfill in the adress record for this customer too.
    Now, our ETL queries run against views created against these partitoned tables so that they are only looking at the data for that day (the view s_address joins from our control tables to the partitiond address table so that we are only seeing one day's address records). This means that the ETL is running agains the minimal subset of data required to update dimensions and create facts. It also means that, for example, if there is a problem with the ETL we can suspend running ETL while we fix a problem, and the streaming process will just go on filling partitions until we are ready to re-launch ETL and catch up - one day at a time. We also back up the data mart after each load so that, if we discover an error in ETL logic and need to rebuild we can restore the datamart to a given day and then reprocess the daily partitions in order very simply.
    We have added control fields in those partitioned tables that show which record was inserted/updated/or deleted in production, and which was added by the dependency walk so, if neccessary, our ETL can determine which data elements were the ones that changed. As we do daily updates to the data mart as our finest grain, this process may update a given record in a given partition multiple times so that the status of this record at the end of the day in that daily partition shows the final version of that record for the day. So, for example, if you add an address record an then update it on the same day the partition for that day will show the final updated version of the record, and the control field will show this to be a new inserted record for the day.
    This satisfies our business requirements. Yours may be different.
    We have a set of control tables which manage what partition is being loaded from streams, and which have been loaded via ETL to the datamart. The only limitation is that, of course, the ETL load can only go as far as the last partition completely loaded and closed from streams. And we manage the sizing of this staging system by pruning partitions.
    Now, this process IS complex, and requires a fair chunk of storage, but it provides us with the local daily static copy of the OLTP system for running operational reports against without impacting production, and a guaranteed minimal subset of the OLTP system for speedy ETL runs.
    As for referencing LCRs themselves, we did not go that route due to the dependency issues (one single LTR will almost never include all of the dependant data from which to update a dimension record or build a fact record, so we would have had to constantly link each one with the full data set to get all of that other info).
    Anyway - just thought our approach might give you some ideas as you work out your own approach.
    Cheers,
    Mike

  • Can streams and data guard run together

    I need to set up a staging database to run streams from.
    Can I use data guard from the production database to the staging database and
    streams on top of that?
    Has anyone done this?

    Correction:
    Data Guard Redo Apply can be used to provide high availability/disaster recovery for a Streams database. For best practices using Dataguard Redo Apply with Streams, see http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10gDataGuardRoleTransitionsStreams.pdf
    Data Guard SQL Apply cannot be used to provide high availability/disaster recovery for a Streams database.

  • Clone schema with current db objects and data.

    Hi Cloud expert,
    I need feature to clone existing schema and create new schema with schema as a service. I created profile that export schema with database objects and data. I created template that use the profile created. While provisioning the template I found all the database objects with template. Now I need a solution to clone the current schema with all the objects at current time. The way I tried contains all the objects that were exists while exporting the schema. I need the solution to clone schema so that it will contains all the objects and data right now.
    While reading document I found snapclone but that is not the exactly the solution I need. I simply need to clone schema with latest db object and data with Self Service portal.
    Thank You in advance.
    Dilli R. Maharjan

    One option is to run BACKUP/RESTORE, once you have restored you run:
    SELECT 'ALTER TABLE ' + quotename(s.name) + '.' + quotename(o.name) +
           ' DISABLE TRIGGER ALL '
    FROM   sys.schemas s
    JOIN   sys.objects o ON o.schema_id = s.schema_id
    WHERE  o.type = 'U'
      AND  EXISTS (SELECT *
                   FROM   sys.triggers tr
                   WHERE  tr.parent_id = o.object_id)
    Copy result and paste into a query window do to run. Next:
    SELECT 'DELETE ' + quotename(s.name) + '.' + quotename(o.name)
    FROM   sys.schemas s
    JOIN   sys.objects o ON o.schema_id = s.schema_id
    WHERE  o.type = 'U'
    Run this result until you don't get any more errors.
    Run the first query again, but change DISABLE to ENABLE.
    This is more long-winding than scripting, particularly if you have lots of data. But you know that you will not make any changes whatsoever to the schema.
    The scripting in SSMS generally does it right, I believe, but some items are not scripted by default. If you run BACKUP/RESTORE, you know that you get a faithful copy.
    Of course, the best way is to keep your code under version control and take the version control system as your ultimate truth.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Hey my iphone was working perfectly and then i sent it to check up and it came back with the itunes icon and data cable on it. so i tried plugging it in the computer and a message on itunes came up saying theres a problem with your phone. HELP PLEASE!!

    hey my iphone was working perfectly and then i sent it to check up and it came back with the itunes icon and data cable on it. so i tried plugging it in the computer and a message on itunes came up saying theres a problem with your phone and it may be damaged and cannot be activated. HELP PLEASE!!

    Why on earth send a Worning phone for service sounds like cutting up a Heaththy PET to see how it looks on the inside

  • Comparision between Multimaster replication and data guard

    Hi,
    I have some questions regarding Multimaster Replication and Data Guard. Like
    *1.)* I have a web site having database in oracle 10.2.0 and multimaster replication configured on it. But whenever i need to change the structure of the tables i
    need to stop replication. So my web site is unavailable but my first priority is availability. So will it be useful for me to configure data guard.
    *2.)* I have configured data guard for testing . My Database is Named as Gard and physical standby database is like stan.
    it is working fine.
    suppose my main database server get corrupted i have no option to start main database server. Now i left with only standby server how i can start standby server
    as database main server.
    *3.)* Is there any if main database stop working Standby database start working as main without dba intervention.
    Thanks
    Umesh
    Edited by: Umesh Sharma on Jan 14, 2009 4:17 AM

    Hi Umesh,
    first of all you should be aware that Dataguard and Replication are two completely different things.
    While the database where you replicate to is always up and open in read write mode, a physical standby can either be recovering or open in read only mode.
    1.) I think from what you are telling you probably should consider using dataguard with a logical standby database, but be aware that there will be some limitations regarding datatypes.
    2.) you can do a failover or a switchover, depending on your database version switchback may not be possible
    3.) have a look at dataguard broker, you can use it to automate the failover
    Best regards,
    PP

  • Difference between Manual Standby and Data Guard Broker..

    hi,
    could any let me know any usefull docs which help to understand the difference between manual dr and data guard broker?
    thanks,

    >
    could any let me know any usefull docs which help to understand the difference between manual dr and data guard broker?
    >
    Without Data Guard Broker:
    http://www.oracle.com/pls/db112/to_toc?pathname=server.112/e17022/toc.htm
    With Data Guard Broker:
    http://www.oracle.com/pls/db112/to_toc?pathname=server.112/e17023/toc.htm
    See especially why you want to use the broker:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17023/concepts.htm#i1013106
    In short: You should have a good reason if you do not use the broker, because it is the officially recommended way to maintain Data Guard. It is even required for some features like Fast-Start Failover.
    Kind regards
    Uwe Hesse
    http://uhesse.wordpress.com

  • Will Oracle ever create a Data Guard certification?

    Will Oracle ever create a Data Guard Certification?
    If so would it be more of a "HA" - high availability,
    or would it be only about Active Data Guard.
    Thanks

    We have a Data Guard Admin certification coming soon. Unfortunately, I don't have a closer date than that.
    https://blogs.oracle.com/certification/entry/0856_31
    Regards,
    Brandye Barrington
    Forum Moderator

  • Creating Standby database with Oracle 10gR2 SE (no dataguard). Procedure

    Hello,
    I have problems in creating a standby database without Dataguard (Oracle Standard Edition)
    -Oracle 10gR2 SE (No DataGuard !!!!)
    - SUSE Enterprise 10.
    Both primary and standby databases are running in Virtual machines (lab).
    I will describe the exact steps I followed :
    1.---------------------------------------------------
    Both primary and standby databases have exactly the same file / folder structure
    2.---------------------------------------------------
    I enabled archive log mode with a new destination : /opt/oracle/oradata/orcl/archive_logs.
    Also : SQL> alter database force logging;
    3.---------------------------------------------------
    I shut down the primary database (shutdown immediate)
    4.---------------------------------------------------
    I created a standby controlfile on the primary database:
    SQL> startup mount
    SQL> alter database create standby controlfile as '/tmp/standby.ctl'
    SQL> shutdown immediate
    5.---------------------------------------------------
    I did a cold backup from the primary db to the standby db
    (I copied all the db files, control files, redo log)
    6.---------------------------------------------------
    I copied from the primary db to the standby db the standby control file
    (from primary /tmp/standby.ctl)
    7.---------------------------------------------------
    I copied from the primary db to the standby db the standby control file
    (from primary /tmp/standby.ctl)
    8.---------------------------------------------------
    I created on the standby database a pfile from the spfile :
    SQL> create pfile from spfile;
    9.---------------------------------------------------
    I edited the pfile and changed the controlfile location (with the standby controlfile created in step 4)
    >>>>> *.control_files='/opt/oracle/oradata/orcl/standby.ctl'
    10.--------------------------------------------------
    I started the standby db
    SQL> startup mount pfile='/opt/oracle/product/10.2/db_1/dbs/initorcl.ora'
    SQL> alter database recover managed standby database disconnect from session;
    SQL> quit
    11.--------------------------------------------------
    I made some changes on the primary db on user scott
    SQL> update table set .......
    12.--------------------------------------------------
    I switched logfile on the primary db
    SQL> alter system switch logfile;
    13.--------------------------------------------------
    I manually copied the new archivelog to the standby db
    And then nothing !!!
    The db changes are not applied.
    Please help me fix the procedure !!!
    Thanks

    Hi
    Ref to your Oracle SE Standby issue, we were in similar situation couple of years ago to build an Automated Standby for our disaster recovery on Oracle SE. We finally got a solution provider Anbul Technologies , they have a one of their solutions based on Oracle SE which provided fully automated Standby in Oracle SE.
    We are successfully running that solution in our prod env for many years. You can visit their site www.anbultechnologies.co.uk or contact them for further details. They are Uk based but provides support and services all over Europe.
    Cheers

  • Compatibility with Oracle RAC 10g and E-business 11i ?

    Hi netpros,
    I am currently helping the sales guys with a tender. The customer requires the solution to be compatible for delivering Oracle RAC 10g and e-business 11i. we are proposing a combination of Cat6509E for the core with Infiniband server switches. Are these devices OK for use with Oracle. I have not much experience with Data centers and so any help is much appreciated.

    Hi,
    It just so happens Cisco have a paper on exactly this subject (Oracle and e-business 11i) here:
    http://www.cisco.com/application/pdf/en/us/guest/netsol/ns50/c649/ccmigration_09186a00807688ce.pdf
    The design is somewhat OTT as it includes everything which Cisco thinks may be even vaguely useful, including ACE and FWSM modules. However, it's very useful as a comparison document and does include some good design tips, and the references at the end are also worth following up.
    I wouldn't want to get into the whole Infiniband vs Fiber Channel argument (the doc uses MDS switches) but both work just fine in the DC environment.
    HTH
    Andrew.

  • Oracle DB schema and data comparison tools that compare BLOBs

    I'm looking for schema and data comparison tool like DBDiff or DbTools, but it has to be able to compare BLOB and CLOB fields. I went thru few products available on the market but could not find any that does that.
    Can you please recommend tool that will help me with it.
    Thanks,
    E

    Hi.
    I use Comparenicus for Oracle from Orbium Software. It compares data and schema, CLOBs, BLOBs..
    It can also handle large tables which is very useful for some of my environments.
    Last (but not least) it has a unique feature for copying selective data from one DB to another. You can read about it this post:
    Efficient way to copy business data from Production DB to Test DB
    Enjoy..

  • Integration Scenario with Oracle SOA Suite and SAP

    Hi to all
    I have the following integration scenario:
    The customer have some applications in the integration landscape. All of this applications are integrated with Oracle Soa Suite.
    This customer, want to buy SAP ERP (ECC 6.0), and they want to integrate SAP ECC in their infrastructure.
    I told to them, that is necesary have Process Integration (PI), by have a services oriented architecture.
    But, I want to hear options, possibilities and comments. Where I find information related ?
    Thank you very much
    Dario

    Hi Rodriguez  ,
    you can use Oracle AS Adapter for SAP for integrating SAP system to oracle .
    some step you need to do in SAP ECC side for data transfer - like create TCP/IP RFC connection ,
    for TCP/IP RFC config. you can generate program ID in Oracle AS Adapter ..Also Oracle provides a SAP JRFC library  for integrating SAP system .
    you can find more information in given link -
    http://www.oracle.com/technology/products/integration/adapters/dev_support.html
    Regards,
    Amit Shivhare

  • Help with Oracle Report Builder and SQL Server2000

    Hey guys,
    I just installed it Oracle Developer Suite10g with Report Builder and I am trying to use Report builder and wants to connect with SQL Server 2000. The problem that I am running in to is SQL Server 2000 i have is Window Authentication so Does not required to enter user name and password. So how can i connect my report builder to SQL server or is it possible to connect Report builder to SQL server?
    Also, I want to create small practice version of database in Oracle how do i do it? what i mean by that is I installed trial version or Oracle developer 10g from www.oracle.com and now trying to get some knowledge with oracle. Could any one can give me some direction in this matter please.
    Thank You
    Key

    Have a look at the reports help for the purpose header and trailer sections. Here is an exert:
    "Report sectioning enables you to define multiple layouts in the same report, each with a different target audience, output format, page layout, page size, or orientation. You can define up to three report sections, each with a body area and a margin area: the names of the sections are Header, Main, and Trailer. By default, a report is defined in the Main section. In the other sections, you can define different layouts, rather than creating multiple separate reports. If you wish, you can use the margin and body of the Header and Trailer sections to create a Header and Trailer page for your reports."

  • How to show two different plots with current system time and date on waveform chart

    I am using  one waveform chart to display the more than one value continiously. The data  are comming properly but i am not getting my system (pc) time and date on x axis. It is showing default date and time (i.e.01/01/1904 5:30:45). Please  give me suggestions to display the real time and date on x axis of waveform chart. 

    How does your data look like? Do you graph waveform data types, dynamic data, or plain arrays/clustes? In the case of plain arrays, you need to set x0 to the absolute start time of your data, e.g. with a property node.
    I you would attach your code (or an image) we could offer more specific advice. There are too many possibilities.
    LabVIEW Champion . Do more with less code and in less time .

  • CONNECTING ORACLE 9I OR 10G DATABASE WITH ORACLE 10G FORMS AND REPORTS

    pls tell how to connect oracle 9i or 10g database with oracle developer suite 10g . though the forms are getting connected but not running with error as
    FRM-10142 the HTTP listner is not running on pls start the listner or check your runtime preferences.
    now pls tell how to start listner and how to chage runtime preferences.
    though i have worked with oracle 9i and forms 6i where we used to copy the tnsnames.ora from network/admin of oracle to forms 6i tnsnames.ora.
    thank you, you may be thinking such a long question.....

    sir
    By server i mean the computer where oc4j and backend database are running is one one of the client pc not a dedicated server..., these database and 10g dev suite are installed in one of the client machine,
    all the clients are using same internet explorer as browser.
    no message is being displyed on some of the client machine where these forms are not being uploaded on browser instead it displays as done in status bar without actually showing anything at all...
    sir so far as jinitiator or JRE is concered i have seen on the client machine (where my forms are running on internet explorer) a pop up is displyed telling one activex control is required to run this program and click to install it..
    after clicking it download jinitiator from server and after installing jinitiator my forms are loaded and start functioning...
    what i feel is as i said this machine where oc4j and database is running is one of the client machine so some other clients do not have acess to this machine, so this might be the reason why those clints are not able to run the said forms on the internet explorer.... can it be so... kindly tell..
    thank you for your patience for reading the question

Maybe you are looking for

  • FBL5N - in Rule set - It is a Display customer line items

    Dear All, We observed that FBL5N - Display customer line items in Standard SoD rule set under function AR07  addressing a risk of S022. Unless there are t-codes of FD03 or FB02 this t-code does not allow to change the payment terms of the customer. W

  • Error while migrating orion-ejb-jar.xml from OC4J 9.0.4.1

    I am trying to use Toplink migration tool to take our existing orion-ejb-jar.xml file and toplink-ejb-jar.xml file to new 10.1.3 deployment. While running the migration tool I get the following error WARNING: Oc4j native CMP setting optimistic-lockin

  • Regex to match everything before an underscore

    Hi, I am trying to create a regular expression to match part of a file name into a variable but I can't seem to get it to work correctly. Here is a sample from gci: SERVERNAMEAPPUPP01_Baseline20140220.blg SERVERNAMEWWSCOOE3_Baseline20140220.blg SERVE

  • Itunes is now in german. cant change it as i dont speak german

    Itunes is in german. Can't change it as I do not spesk German. What has changed the language?

  • A smple code help needed

    I Have a little problem i want to push a button in creator that execute the following SQL code INSERT INTO NAMES2(NAME,ID) SELECT NAME,ID FROM NAMES WHERE ID = '1' ; this sql code take a row from a table to another table and so on i need that happen