Oracle Streams implementation

Hi all,
I am a newbie, we have a production DB on HP-Ux ver.11.23 server and a new staging DB on RedHat Linux server.
now we have to synchronize the data on staging server for reports purpose.
what would be the better options for data synchronization.
1. Oracle Strems
2. Oracle Golden Gate
or
Shell Scripting.
for these implementations we to bounce the production Db?? or not??

You did not described much about the staging server. The answer depend on SLA and license and the nature of the staging server.
In all cases, forget Korn shell, Rman is better in this case and this advice comes from somebody doing daily korn shell since 20 years.
No reason to pay for Goilden gate, Streams is free and built in Enterprise Edition while master slave Streams is easy setup.
If you staging server is a replica of production then if your DB is small and SLA on target (reporting DB) allows shut-down and you don't need the latest data (say one day back)
then script an automated refresh using RMAN duplicate command.
if staging area accumulate data, then Streams is easy and manage old data using drop partitions (got licence?). Streams is not complicated in Master/slave which is your case.
You will probably go for a Schema to schema replication with one capture process, one propagation and one apply process.
Having said that, appetite comes while eating, so expect people request transformations on the data, from source to target, this I promise you.

Similar Messages

  • Oracle Streams Implementing Step by Step in oracle10g

    how to implement Oracle streams in Oracle10g provide a step by step Document
    regarding Oracle Streams implementation.

    http://download.oracle.com/docs/cd/B19306_01/server.102/b14229/toc.htm
    Chapter 27 and 28
    I found this with a few mouse clicks!!!
    Sybrand Bakker
    Senior Oracle DBA

  • Advice on implementing oracle streams on RAC 11.2 data warehouse database

    Hi,
    I would like to know high level overview on implementing one-way schema level replication within same database using oracle streams on RAC 11.2 data warehouse database.
    Are there any points that should be kept in mind before drafting the implementation plan.
    Please share your thougts and experiences.
    Thanks in advance
    srh

    Hi,
    I would like to know high level overview on implementing one-way schema level replication within same database using oracle streams on RAC 11.2 data warehouse database.
    Are there any points that should be kept in mind before drafting the implementation plan.
    Please share your thougts and experiences.
    Thanks in advance
    srh

  • Implement Oracle Streams without having Primary Keys

    In our environment, we can't create primary keys so anyone know how to implement oracle streams without having primary keys on the tables.
    Thanks,

    You can JOIN tables on any compatible columns or functions (like LEFT (PONumber,10) ):
    http://technet.microsoft.com/en-us/library/ms191517(v=sql.105).aspx
    BOL: "When the (ON) condition specifies columns, the columns do not have to have the same name or same data type; however, if the data types are not the same, they must be either compatible or types that SQL Server can implicitly convert. If the data types
    cannot be implicitly converted, the condition must explicitly convert the data type by using the CONVERT function. "
    LINK:
    http://technet.microsoft.com/en-us/library/ms177634(v=sql.105).aspx
    Typically tables are JOIN-ed on FK-s and PK-s.
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Oracle Streaming Queues in Oracle 10G standard Edition

    I would like to configure and implement Oracle Streaming Queues in Oracle 10G standard Edition. If it is possible then please guide me and give me some clues and if not then please advise me some alternate method.

    Here is the guidance you requested.
    License information:
    http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/toc.htm
    Technical information:
    http://tahiti.oracle.com/
    Since I don't even know what version you have ... this is as far as I can take you.

  • Oracle Streams Update conflict handler not working

    Hello,
    I've been working on the Oracle streams and this time we've to come up with Update conflict handler.
    We are using Oracle 11g on Solaris10 env.
    So far, we have implemented bi-directional Oracle Streams Replication and it is working fine.
    Now, when i try to implement Update conflict handler - it executed successfully but it is not fulfilling the desired functionality.
    Here are the steps i performed:
    Steap -1:
    create table test73 (first_name varchar2(20),last_name varchar2(20), salary number(7));
    ALTER TABLE jas23.test73 ADD (time TIMESTAMP WITH TIME ZONE);
    insert into jas23.test73 values ('gugg','qwer',2000,SYSTIMESTAMP);
    insert into jas23.test73 values ('papa','sdds',2050,SYSTIMESTAMP);
    insert into jas23.test73 values ('jaja','xzxc',2075,SYSTIMESTAMP);
    insert into jas23.test73 values ('kaka','cvdxx',2095,SYSTIMESTAMP);
    insert into jas23.test73 values ('mama','rfgy',1900,SYSTIMESTAMP);
    insert into jas23.test73 values ('tata','jaja',1950,SYSTIMESTAMP);
    commit;
    Step-2:
    conn to strmadmin/strmadmin to server1:
    SQL> ALTER TABLE jas23.test73 ADD SUPPLEMENTAL LOG DATA (ALL) COLUMNS;
    Step-3
    SQL>
    DECLARE
    cols DBMS_UTILITY.NAME_ARRAY;
    BEGIN
    cols(1) := 'first_name';
    cols(2) := 'last_name';
    cols(3) := 'salary';
    cols(4) := 'time';
    DBMS_APPLY_ADM.SET_UPDATE_CONFLICT_HANDLER(
    object_name => 'jas23.test73',
    method_name => 'MAXIMUM',
    resolution_column => 'time',
    column_list => cols);
    END;
    Step-4
    conn to strmadmin/strmadmin to server2
    SQL>
    DECLARE
    cols DBMS_UTILITY.NAME_ARRAY;
    BEGIN
    cols(1) := 'first_name';
    cols(2) := 'last_name';
    cols(3) := 'salary';
    cols(4) := 'time';
    DBMS_APPLY_ADM.SET_UPDATE_CONFLICT_HANDLER(
    object_name => 'jas23.test73',
    method_name => 'MAXIMUM',
    resolution_column => 'time',
    column_list => cols);
    END;
    Step-5
    And now, if i try to update the value of salary, then it is not getting handled by update conflict handler.
    update jas23.test73 set salary = 1500,time=SYSTIMESTAMP where first_name='papa'; --server1
    update jas23.test73 set salary = 2500,time=SYSTIMESTAMP where first_name='papa'; --server2
    commit; --server1
    commit; --server2
    Note: Both the servers are into different timezone (i hope it wont be any problem)
    Now, after performing all these steps - the data is not same at both sites.
    Error(DBA_APPLY_ERROR) -
    ORA-26787: The row with key ("FIRST_NAME", "LAST_NAME", "SALARY", "TIME") = (papa, sdds, 2000, 23-DEC-10 05.46.18.994233000 PM +00:00) does not exist in ta
    ble JAS23.TEST73
    ORA-01403: no data found
    Please help.
    Thanks.
    Edited by: gags on Dec 23, 2010 12:30 PM

    Hi,
    When i tried to do it on Server-2:
    SQL> ALTER TABLE jas23.test73 ADD SUPPLEMENTAL LOG DATA (ALL) COLUMNS;
    it throws me an error,
    Error -
    ERROR at line 1:
    ORA-32588: supplemental logging attribute all column exists

  • Complex Oracle Streams issue - Update conflicts

    This is for Oracle streams replication on 11g r2.
    I am facing update conflicts in a table. The conflict arise due to technical and business logic issue. The business logic will pass through the replication/apply process successfully but we want to arrest and resolve it before replication for our requirements. These are typically a bit complex cases and we are exploring the possibility of having both DML handlers and Error handlers. The DML handlers will take care of business logic conflicts and Error handler for technical issues before pushing it to Error queue by Streams. Based on our understanding and verification, we found a limitation to configure both procedure DML handler and Error handler together for the same table operation.
    Statement handlers can not be used for our conflict scenarios.
    Following are my questions:
    1. Have anyone implemented or faced such a scenario in their real time application? If yes, can you please share some insights or inputs?
    2. Is there a custom way to handle this complex problem of configuring both DML and Error handler?
    3. Is there any alternative possible way to resolve this situation at Oracle streams environment with other handlers?

    Dear All
    I too have a similar requirement. Could anyone help with one?
    We can handle the error-ing transactions via Error Handler procedures.
    But we can not configure the DML handler procedure for transactions that are successfully replicated. STreams does not allow us to configure a handler for this. Is there any other handler / procedures / hooks in streams where we can implement the desired functionality - which includes changing the values in the LCR before invoking lcr.execute() and we should be able to discard the LCR also if required.
    Regards
    Velmurugan
    Edited by: 982387 on Jan 16, 2013 11:25 PM
    Edited by: 982387 on Jan 16, 2013 11:27 PM

  • Oracle streams configuration

    Hi,
    Our organization is planning to implement Oracle streams. I have couple of fundamental questions:
    1. Can you configure Oracle Streams while the source database is up and running?
    2. I think the answer is yes, but please confirm that the LCR data can be extracted and transformed before applying to the target
    3. Is there any performance impact on the source database if Oracle Streams is enabled? If yes, how much?
    That’s all for now…
    Thanks…

    See my answers inline.
    1. Can you configure Oracle Streams while the source database is up and running?
    YES. Your database must be up and running to create streams processes.
    2. I think the answer is yes, but please confirm that the LCR data can be extracted and transformed before applying to the target
    You have to instantiate the target database so that there source and target are in sync.
    3. Is there any performance impact on the source database if Oracle Streams is enabled? If yes, how much?
    There is a minimal overhead of running the capture process on the source. But this should be negligable. This also depends upon what is being streamed i.e. LOB's are being streamed, high transaction volume etc.

  • Oracle Streams in 10g

    Hi All,
    I am new to Oracle Streams in 10g, Could any one explain me what is Oracle streams and why we have to use it and related documents.
    Please don't hesitate me to reply.
    Thanks,
    Redro.

    You can get overview from the below link:
    http://www.oracle.com/technology/products/dataint/htdocs/streams_fo.html
    Step by Step guide to implement streams:
    http://it.toolbox.com/blogs/oracle-guide/oracle-streams-step-by-step-17095

  • Granularity of change rules in CDC (using Oracle streams) at columns level.

    Is it possible to implement granularity of change rules in CDC (using Oracle streams) at columns level.
    E.g. table abc with columns a1, b1, c1 where c1 is some kind of auditing column. I want to use CDC on table abc but want to ignore changes on c1.
    Is it possible? My other option is to split table abc into a child table that has the Primary key and c1 only but it needs additional table and joins.
    Thanks
    Shyam

    The requirement can be implemented by a simple trigger.
    You seem to plan to kill a mosquito by using a nuclear bomb.
    Sybrand Bakker
    Senior Oracle DBA

  • Maximum No. of DBs involved in Oracle Streams

    Hi,
    Is there any limitations in Maximum No. of databases involved in Oracle Streams.
    I have implemented schema level oracle streams between two database. I am planning to extend to another 6 database. Is it feasible or any restriction, pl. clarify.

    I am not aware of any such limitation. Also I cannot find anything in Oracle documentation as well. The only limiting factor in this case would be the availability of resources and the network bandwidth available between these databases.

  • Capture Changes from Sql Server  using Oracle Streams  - Destination Oracle

    Is it possible to capture changes made to tables in Sql Server database and propagate the changes to Oracle Database using Oracle Streams and Heterogeneous Gateway. I see plenty of information about pushing data from Oracle to Sql server, but I haven't been able to find much information about going the other way. Currently we are using sql server 2005 replication to accomplish this. We are looking into the possibility of replacing it with streams.

    the brief understanding i have is that there is nothing out of the tin that Oracle provides to stream between SQL Server and Oracle. The senario is documented in Oracle docs however and says you need to implement the SQL Server side to grabe changes and submit to Oracle stream queues.
    i'm sure i've seen third parties who sell software to do this.
    If you know otherwise please let me know. Also wasn;t aware one could push from SQL Server to Oracle. Is this something only avail in SQL Server 2005 or does 200 also have it? How are you doing this?
    Cheers

  • Oracle Streams roadmap

    I heard that Oracle Streams will be not implemented in next database versions, because of GoldenGate. Could you provide me any official link that affirm this information? I try to find on google, but can't find any official documents that say that.

    Hi;
    Please check below link 5th slide
    http://www.oracle.com/technetwork/database/features/availability/312833-129009.pdf
    Regard
    Helios

  • Oracle stream with rac

    hi ,
    I’m trying to configure oracle stream one direction ( tables level )..
    my source and destination database is 10.2.0.4 and destination in rac (three nodes)
    source database is one node
    please help if there is some configuration required in rac

    Hello
    Please find the Oracle RAC Specific Configuration while implementing Oracle Bidirectional streaming Setup
    #Propagation
    queue_to_queue parameter
    -- Assign Primary / Secondary Instance IDs
    dbms_aqadm.alter_queue_table(queue_table => 'capture_srctab',
    primary_instance => 1,
    secondary_instance => 2);
    dbms_aqadm.alter_queue_table(queue_table => 'apply_srctab',
    primary_instance => 1,
    secondary_instance => 2);
    All Streams processing is done at the owning instance of the queue used by
    the Streams client. To determine the owning instance of each ANYDATA queue
    in a database, run the following query:
    SELECT q.OWNER, q.NAME, t.QUEUE_TABLE, t.OWNER_INSTANCE
    FROM DBA_QUEUES q, DBA_QUEUE_TABLES t
    WHERE t.OBJECT_TYPE = 'SYS.ANYDATA' AND
    q.QUEUE_TABLE = t.QUEUE_TABLE AND
    q.OWNER = t.OWNER;
    #tbsnames.ora
    Service_name=global_name=db_name
    Please find the metalink document
    10gR2 Streams Recommended Configuration [ID 418755.1]
    Regards
    Hitgon

  • OpenVMS Alpha 10GR2 Oracle Streams

    We are trying to determine if Oracle Streams in 10GR2 for OpenVMS has all functionality advertised implemented. The 9i release did not meet the customer expectations.
    Any comments?
    Peter Johnson
    SDM

    I also wonder the feedbacks on this thread since on Solaris we tried to implement a change data capture - http://download.oracle.com/docs/cd/B19306_01/server.102/b14223/cdc.htm#i1028295 based etl for our data warehouse, but during proof of concept work we faced lots of problems; some had workarounds, some are documented as bugs and patches for operating systems are on metalink, but some didn't have any solution, so the project management decided that cdc is an imature product on 10gR2.
    Although the product is working fine when your needs dont get complicated asw mentioned on below two great cookbooks, especially on hr demo tables :)
    Asynchronous Autolog Archive CDC
    http://www.oracle.com/technology/products/bi/db/10g/pdf/twp_autolog_cdc_cookbook_0107.pdf
    Asynchronous Distributed Hotlog CDC
    http://www.oracle.com/technology/products/bi/db/10g/pdf/twp_cdc_cookbook_0206.pdf
    Best regards.

Maybe you are looking for

  • How do I reinstall Acrobat 8 Standard on  Windows 7? [was: Reinstall]

    Just got a new computer with Windows 7.  How do I reinstall my Adobe Acrobat 8 Standard?

  • Replacing all occurrences of characters in a string with one new character?

    Hi there, I'm looking for a way that I could replace all occurrences of a set of specific characters with just one new character for each occurrence. For example if I have a string which is "word1...word2.......word3....word4............word5" how wo

  • How to get (old)previous date and create a loop?

    Hi!!! I am using java.util.date object. I need to get the 2 months back date,i.e. 60 days back date and to create a loop from that date till today and add it to combobox. Suppose today's date=3-12-2001 x=date-60=3-10-2001 and wants to create a loop f

  • MacBook Pro 10.4 won't install 10.5, not original optical drive

    Hello. I know the answer to the first part of this question. I have a 1st gen MacBook Pro (1.83 GHz Intel Core Duo), with 10.4.11 on it. I just last week upgraded the internal HD to one with a larger capacity. Went to install Leopard, and guess what?

  • GetString failes

    I am having problems calling getString() on ResultSet. I am using Oracle 10g Instant Client libraries for Linux and I am connecting to Oracle 9i. Is there a compatibility issue? If I comment out getString, getInt works just fine. With getString I get