Oracle Streams Advanced Queuing and advanced replication

Hi experts,

I don't have much experience in Oracle. Please tell me what is "Oracle Streams" in simple words. What is use of this example.

difference between "Oracle Streams, advanced and advanced replication queues".

Reg,

Hard

Hi harsh,

I'll try and simply summarize for you.

(1) advanced replication - the ancient mode of replication of data between databases - no one really uses this method more (even if it's still there)

(2) AQ (or now renamed as streams AQ I think) is a technology of queues for the publication and subscription to messages - it is not a replication method on its own, but is a key technology for manufacturing workflow

(3) water - a replication technology course complete with a huge amount of flexibility (and complexity) - one of the best tools of the oracle set product - but it is now be depracated in favor of goldengate (in large part because GG is a costly option, personally, I think)

(4) goldengate - just like rivers but can replicate to/from databases (Sql server, sybase etc.) non-oracle

streams and goldengate roughly the same work but are implemented very differently - flow is much plsql and queues, GG is to learn another language (although scripting tool really)

hope that helps.

See you soon,.

Rich

Tags: Database

Similar Questions

  • Oracle advanced replication vs flow all the differences?

    Hi friends


    All fdiffrences btw Oracle advanced replication and streams?

    Is not Oracle advanced replication one end of product life and the future will be the watercourse.

    Found any clarification on this in the docs

    Hello Haggy

    We are saved once more by metalink >

    (14) what is the difference between flow and advanced replication?
    See 370850.1 comparison between the RAC, Dataguard, streams, advanced features of replication or base.

    Hope this helps you understand the differences, you can always ask for more.

  • Job queue and event ADVANCE.

    Hello

    I'm getting to do advanced queues work which could be removed by the use of event in function. For a single message, it seems to work but if I queue of messages more some of them are 'lost' without having been processed. In below code I create job scheduler queue and event. Then I enqueue messages 3 - two immediately after each other and third with 5 delay. Only the first and the third message are processed (and written to the TST_DATA table). In the queue table, it seems all messaged have been processed. RDBMS version is 12.1.0.2.

    Thanks for any response.

    CREATE TABLE TST_DATA (
      sCommand VARCHAR2(50)
    );
    
    CREATE TYPE TST_PAYLOAD_T AS OBJECT (
    sCommand VARCHAR2(50)
    );
    /
    
    CREATE OR REPLACE PROCEDURE processMessage(
      itMsg TST_PAYLOAD_T
    ) IS
    BEGIN
      INSERT INTO TST_DATA (sCommand) VALUES (itMsg.sCommand);
      COMMIT;
    END;
    /
    
    BEGIN
        dbms_aqadm.create_queue_table(
          queue_table => 'TST_QUEUE_TAB',
          queue_payload_type => 'TST_PAYLOAD_T',
          multiple_consumers => TRUE
        );
    
        dbms_aqadm.create_queue(
          queue_name => 'TST_QUEUE',
          queue_table => 'TST_QUEUE_TAB'
        );
    
        dbms_scheduler.create_program(
          program_name => 'TST_PROG',
          program_type => 'STORED_PROCEDURE',
          program_action => 'processMessage',
          number_of_arguments => 1,
          enabled => FALSE
        );
    
        dbms_scheduler.define_metadata_argument(
          program_name => 'TST_PROG',
          metadata_attribute => 'EVENT_MESSAGE',
          argument_position => 1
        );
        dbms_scheduler.enable('TST_PROG');
    
        dbms_scheduler.create_job(
          job_name => 'TST_JOB',
          program_name => 'TST_PROG',
          queue_spec => 'TST_QUEUE',
          enabled => FALSE
        );
        dbms_scheduler.enable('TST_JOB');
    
        dbms_aqadm.start_queue('TST_QUEUE');
    END;
    /
    
    DECLARE
      ltMsg TST_PAYLOAD_T;
      ltEnqueueOptions dbms_aq.enqueue_options_t;
      ltMsgProperties dbms_aq.message_properties_t;
      lrMsgId RAW(16);
    BEGIN
      ltEnqueueOptions.visibility := dbms_aq.IMMEDIATE;
      ltMsg := TST_PAYLOAD_T('test1');
      dbms_aq.enqueue(
        queue_name => 'TST_QUEUE',
        enqueue_options => ltEnqueueOptions,
        message_properties => ltMsgProperties,
        payload => ltMsg,
        msgid => lrMsgId
      );
      ltMsg := TST_PAYLOAD_T('test2');
      dbms_aq.enqueue(
        queue_name => 'TST_QUEUE',
        enqueue_options => ltEnqueueOptions,
        message_properties => ltMsgProperties,
        payload => ltMsg,
        msgid => lrMsgId
      );
      dbms_lock.sleep(5);
      ltMsg := TST_PAYLOAD_T('test3');
      dbms_aq.enqueue(
        queue_name => 'TST_QUEUE',
        enqueue_options => ltEnqueueOptions,
        message_properties => ltMsgProperties,
        payload => ltMsg,
        msgid => lrMsgId
      );
    END;
    /
    
    SELECT * FROM TST_DATA;
    

    Hello

    you're right: after two immediate queue operations and a separate queue there are only two lines in the table

    (tested on 11.2.0.4):

    SQL> select * from tst_data;
    
    SCOMMAND
    --------------------------------------------------
    test1
    test3
    

    If you wait just 1 sec after each DBMS_ENQUEUE there are 3 rows.

    Even with a visibility using DBMS_AQ.COMMIT and COMMIT after that each line there are only 2 rows.

    This mechanism using DBMS_SCHEDULER and EVENT_MESSAGE functionality seems to be a bit slow.

    You must specify the option parallel instance for your business:

    DBMS_SCHEDULER.set_attribute ('TST_JOB', 'parallel_instances', TRUE);
    

    You will get then 3 rows, even without a delay of sleep:

    SQL> select * from tst_data;
    
    SCOMMAND
    -----------------------------
    test1
    test2
    test3
    

    Kind regards

    WoG

  • Transparent data encryption are supported with Oracle Advanced Replication?

    Which version of DB, TDE supported with Oracle Advanced Replication?

    user939188 wrote:
    Which version of DB, TDE supported with Oracle Advanced Replication?

    "Materialized views do not support columns that have been encrypted by using transparent data encryption."

    Source - http://oracle.su/docs/11g/server.112/e10706/repmview.htm

  • Database objects can be replicated using Oracle Streams and which object cannot be replicated?

    Hi Experts,

    I need clarification on the sub questions,.


    Database objects can be replicated using Oracle Streams and which object cannot be replicated?

    How can we check that what schema and objects are used streams replication and which schema and objects is not used in the replication stream?

    Thanks in advance.

    Select *.
    of dba_streams_unsupported
    where owner | '.' || table_name (...)

    order by 1, 2, 3;

  • Oracle Streams and CLOB column

    Hello

    We use "Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64 bit. My question is "Does Oracle Streams capture, spreads (source capture method) and applies the CLOB column changes?"

    If so, is this default behavior? Can we say Brooks to exclude all of the CLOB column (capture-spreading-request) process?

    Thanks in advance!

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14229/strms_capture.htm#i1006263

  • Grid Control 11 g includes advanced replication management?

    The system that I administer currently Oracle Enterprise Manager 10g Grid Control to General administration, but he had to keep the old based on java Enterprise Manager to manage advanced replication. (All of the databases is currently Oracle 10 g. We plan to upgrade the databases up to 11g Release 2. The context is a central database with 16 knots that have views materialized update-able over them to subsets of the data.)

    I do research moving to Oracle Enterprise Manager 11 g. Manage Advanced Replication? Otherwise, what Oracle tool now provide or support for advanced replication management? The URL of a white or manual book or article would be a great help.

    Clark,

    If you do not find yourself still, Yes, he does. OEMGC can set up and manage advanced replication environments: http://oracle.informatik.haw-hamburg.de/server.111/b28326/repoverview.htm#i13140

    Eric

  • Advanced replication monitor

    Hello
    We have advanced replication between two Master set up sites, this configuration also is aimed at DR solution as replication sites located in different cities. My question is that in case of disaster, how can we determine when was the last 'push' that we have obtained from the other site...
    To develop more... For example we have advanced replication between Melbourne and Sydney, and "sydney" goes down... How can we say (sql query) when was the last time we got the 'push' of sydney success in Melbourne...
    and the reasoning for this question must answer the question of Exec which is the scenario of loss of data in Sydney...

    Thank you
    Manu

    Hello

    There are probably ways you could accomplish something like this using a combination of opinion of replication queue, but I don't know what either "out of the box" for replication that offers this possibility, I'm sorry.

    Thank you
    Paul

  • advanced replication 10g

    What oracle Installer is for advanced replication in the oracle 10g database?

    Client Oracle 10g or oracle warehouse builder 10g

    You must use the java console

  • Advanced replication

    Hello

    What is the difference between advanced replication and mview?
    PLS,


    Thank you.

    Hello

    Check following links.
    >
    >
    >

    Kind regards

  • Tuxedo of Oracle and Oracle Tuxedo message queue on a virtual machine.

    Hi friends.

    How is it going?

    A small question.

    So let's go live using Oracle Tuxedo 12.1.1.0 with binding distinguished Bulletin Board and Oracle Tuxedo Message Queue 12.1.1.0 on a Virtual Machine (VMWARE) running Oracle Linux 6.2. However, we want to know if there are recommendations or mishaps in which we face before running Oracle Tuxedo on a virtual machine?

    I mean, I wonder if I have to worry about kernel parameters, settings of virtual machine or any other thing that could ruin everything.

    Another question.

    Oracle also provides certification of VMS where Tuxedo Oracle would go on top of the?

    Todd little-Oracle

    Maurice G-Oracle

    Hi Bruno.

    I'm not sure what you mean with single Liaison Bulletin Board.  I guess you mean a cluster or the MP configuration?  And is it really a clustered or just a single machine of the MP configuration?

    About the configuration, you use Tuxedo services as well or just Tuxedo Message Queue?  The biggest problem with the configuration of the BONE is the IPC resources.  If you do a-c tmloadcf on your UBBCONFIG file, it will help you to determine the required minimum IPC resources.  In general, I suggest configuration much more resources than the minimum to allow for the changes to come and for some of the parameters for heavier loads.  In particular IPC message queue settings are strongly dependent on the load.  So make sure that the maximum message size and the size of the queue are big enough for your expected workload.  You can monitor the slot load using the ipcs command.

    We don't certify virtual machine environment, but support also a long time the VM vendor to ensure compatibility, obviously VMware and Oracle VM who both do.

    Kind regards

    Todd little

    Chief Architect of Oracle Tuxedo

  • Oracle streams heterogeneous Support (non-Oracle and Oracle databases) envi

    Oracle streams heterogeneous Support (non-Oracle and Oracle databases) environments?

    It is possible to move data from Oracle to DB2 using Oracle Streams?

    Hello

    Visit this link

    http://download-West.Oracle.com/docs/CD/B28359_01/server.111/b28322/hetero.htm

    Kind regards
    Deepak

  • Oracle Streams without link DB

    Hi all

    We have an obligation to move data for about 20 tables of a database in a particular network to a database in another network. The database on both sides runs on 11g and has an RAC implementation.

    To perform this replication options are here

    -Oracle Streams
    -Oracle Golden Gate
    -Export and import Datapump then

    We have the following restrictions to make the transfer

    -No DB connection cannot be created
    -No additional licenses can be purchased for the purchase of Golden Gate

    Subject limitations above still go with Oracle Streams (as I read the oracle documentation, and he says that DB Link is mandatory) or am I just left with the option of datapump

    Thanks in advance,
    Jayadeep

    Archives can be trasnfer by Redo transport services.detail below

    http://docs.Oracle.com/CD/B28359_01/server.111/b28294/log_transport.htm

    before finding the CDC.
    Take a look at following note

    Planned off the change data Capture support
    http://docs.Oracle.com/CD/E18283_01/server.112/e17222/changes.htm#CJAECCIJ

  • When to recreate queues and tables of the queue in QA?

    When recreate us queues and queue tables when you use Advanced Queuing? Is there an advantage in doing this?

    dbms_aqadm.stop_queue)
    dbms_aqadm.drop_queue)
    dbms_aqadm.drop_queue_table)

    dbms_aqadm.create_queue_table)
    dbms_aqadm.create_queue)
    dbms_aqadm.start_queue)

    Also, can you please let me know what is the difference between the queue and queue table? I'm newbie and not able to get help on that. I had a little of that first we can create the queue table and then create the queue. Any help would be appreciated.

    Why do you want to "recreate" the queues and queue tables?

    Read the documentation of

    DBMS_AQADM.ALTER_QUEUE
    and
    DBMS_AQADM.ALTER_QUEUE_TABLE
    

    and see if you can get out without falling and re - create

    In the contrary case; do some reading on how to manage queues, to drop, modification and creation!

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14257/aq_admin.htm#i1005956
    and
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14257/aq_admin.htm#i1006297

    If you want to change the payload type, you need to remove the queue and re-create it, in which case read on drop, keep in mind the STOP_QUEUE!
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14257/aq_admin.htm#i1006355

    Similarly for the DROP table queue!

    P;

  • Oracle Streams is a licensed product

    Hi guys,.

    I need to know whether or not the oracle streams is a licensed product?


    Thanks and greetings
    Andrea Ballarin

    Hello

    Oracle workflow is part of Oracle Enterprise Edition. If you have this version, then you can use the streams without an additional license.

    Herald tiomela
    htendam.WordPress.com

Maybe you are looking for

  • Transfer iTunes album notebook iPhone 6s if the album is not in iTunes store

    How can I transfer an album from iTunes on my HP laptop to my iPhone 6s if the album is not in the iTunes Store.  This CD was produced by group of a friend in Germany.  Not surprised it is not available in the iTunes Store.  Synchronization, drag - n

  • Brightness, function keys, WinXP and Satellite Pro A200

    Hello I recently bought a Satellite Pro A200 (serial PSAE7E) with WIndows Vista and try to install Windows XP next.After hours of hunting for drivers (with moderate success) and try to install a XP in a privileged way (3rd partition main, 2nd is for

  • Windows 8 Jump List

    I want to open my recent documents in word and excel (both are 2010).  However, when I go to the jump list in windows 8, all the choices are grayed out.  How can I change this so I can specify how many recent documents I want to allow?

  • where the hyperlink in MUSE

    In the video tutorial on creating a hyperlink to another page in the same site of the Muse (and I remember the first version of Muse I have beta tested) in the upper part is hyperlink with a box beside him for a url or a link to another page of the w

  • Once I have buy a lightroom at the adobe site license, can I install it in addition to a computer?

    I want to buy a lightroom license in the adobe site to use it in my computer. But within a month, I will go to another country. TimesI'll be there, can I use the same license to install the program in another computer?