Extensive IO after Configuring DB Streams Replication

Hi all,
<br><br>
I'm learning on configuring and managing Oracle Streams Replication.
<br><br>
I managed to configure a bidirectional Database replication using the PRE_INSTANTIATION_SETUP and POST_INSTANTIATION_SETUP procedures in the DBMS_STREAMS_ADM package between two databases (DB1 and DB2). I used RMAN DUPLICATE command for instantiation.
<br><br>
Here is my question:
<br><br>
Once the configuration is finished, <b>I noticed an extensive IO activities on the hardisks in both DB1 and DB2</b>, although there were no DML or DDL against any of the databases by users. Is that normal in Oracle Streams environment? What is the reason of it? May be it is this way only in the first few hours of finishing this configuration and eventually the IO will become stable.
<br><br>
Oracle 10g R2 on Windows XP SP2

Could be the writing of data dictionary to redo logs on target and the mining of it on the source.
Did it stop after a while?

Similar Messages

  • No data found in Update (streams replication)

    Hi,
    Our database is setup for streams replication of few tables from source database DB1 to destination database DB2. The source tables have different primary key columns than the primary key columns at destination. All tables at source and destination have primary keys, unique keys and foreign keys. There are unique keys on source tables which are used as primary keys on destination. For example, table TAB1 at source DB1 has primary key column COL1 and unique key column COL2. Whereas at destination table TAB1 on DB2 has COL2 as primary key and COL1 is dropped from the LCR.
    We have problem now, inserts are replicated perfectly, but not updates. Updates are giving “no data found” error. I went through the oracle documentation and I tried following:
    1.     Setting keys using DBMS_APPLY_ADM.SET_KEY_COLUMNS. It didn’t work. Unique key column was set as key columns.
    2.     Setting update conflict handler using DBMS_APPLY_ADM.SET_UPDATE_CONFLICT_HANDLER. It didn’t work. Unique key column was set as resolution_column and “DISCARD” as method_name (parameters).
    Is there anything I am missing? Please help me in resolving this error. If you have any leads or sample code would help me greatly. Appreciated your help.
    Thanks

    Thanks for our time and help. Yes, you are right.
    FYI... we had supplemental logging. Our team tried with different configuration combinations yesterday. Finally, we found that unconditional supplemental logging must be there to resolve the issue. We had conditional supplemental logging thou. After changing it to unconditional, it was working. There is no need for update conflict handlers or substitute keys.
    Thanks

  • Message filtering in propagation process (stream replication environment)

    Hi!
    We have fine configured stream replication in star topology:
    ORCL2 <=> ORCL1 <=> ORCL3
    Where the ORCL1 is "headquarters" and there is no message flow between ORCL2 and ORCL3.
    For some reason we want to filter messages in propagation processes, e.g. DML captured on ORCL1 should be replicated only to ORCL2 or only to ORCL3. There is one propagation process for each "satellite" database.
    To solve this problem I have written function:
    FUNCTION Replicate_Lcr (
    p_lcr IN SYS.lcr$_row_record)
    RETURN VARCHAR2 IS
    which will be making a decision whether to pass the message (return 'Y') or not (return 'N').
    But there is problem: rule is evaluated and function is executed (there is insert into 'stream_log_lcr' table) but value of the expression seems to be 'FALSE' and message (LCR) is not beeing sent to ORCL2 (or to ORCL3).
    When I remove function 'Replicate_Lcr' from propagation rule condition then every message captured by capture process on ORCL1 reaches destination database (ORCL2 or ORCL3).
    The second observation is that, if I run the same code on ORCL2 or ORCL3 then everything seems to be OK: there is insert into 'stream_log_lcr' table and DML captured on ORCL2 (or ORCL3) appears in ORCL1 ("headquarters").
    I suppose that this could be problem with other version of database on "headquarters" (ORCL1) or configuration issues.
    I will appreciate every suggestion.
    Databases:
    ORCL1: 64-bit Windows, ver. 10.2.0.4.0, Windows 2008 server
    ORCL2: 32-bit Windows, ver. 10.2.0.1.0, Windows XP
    ORCL3: 32-bit Windows, ver. 10.2.0.1.0, Windows XP
    SQL code run on ORCL1:
    CREATE TABLE stream_log_lcr (
    data DATE NOT NULL,
    msg SYS.lcr$_row_record NOT NULL
    -- simplified, always return 'Y'
    CREATE OR REPLACE FUNCTION Replicate_Lcr (
    p_lcr IN SYS.lcr$_row_record)
    RETURN VARCHAR2 IS
    PRAGMA AUTONOMOUS_TRANSACTION;
    BEGIN
    IF p_lcr IS NOT NULL
    THEN
    INSERT INTO stream_log_lcr
    VALUES (SYSDATE,
    p_lcr);
    COMMIT;
    END IF;
    RETURN 'Y';
    END;
    -- create propagation process with above function in rule condition
    BEGIN
    DBMS_STREAMS_ADM.add_schema_propagation_rules
    (schema_name => 'data_schema',
    streams_name => 'primary_to_secondary2',
    source_queue_name => 'strmadmin.capture_primary',
    destination_queue_name => 'strmadmin.from_primary@ORCL2',
    include_dml => TRUE,
    include_ddl => TRUE,
    source_database => 'ORCL1',
    and_condition => ' strmadmin.Replicate_Lcr(:dml) = ''Y'' ',
    inclusion_rule => TRUE,
    queue_to_queue => TRUE);
    END;
    -- check if function 'Replicate_Lcr' was evoked:
    SELECT * FROM stream_log_lcr ORDER BY data;

    hi porzer,
    In Propagation process ( source) also 0 errors. But in apply ( dest ) under statistics under server status is displaying as IDLE. And Coordinator status is APPLYING. In Capture (source) no error. In Applying ( dest ) no error. what else i can do please?
    up to now what i did i am telling:
    I had 2 databases had one table same table. one database i changed the mode to ARCHIVELOG mode. Another database is in NOARCHIVELOG mode only. In first database setup streams i run. And i run manually 2 .sql files and one .dat file like this :
    SQL>@e:\oracle\product\10.2.0\client_2\sysman\report\OTEST_ADMIN_NON_OMS_SETUP.sql
    SQL>host e:\oracle\product\10.2.0\client_2\sysman\report\OTEST_ADMIN_NON_OMS_exportimport.bat
    SQL>@e:\oracle\product\10.2.0\client_2\sysman\report\OTEST_ADMIN_NON_OMS_startup.sql
    Any thing else i can do? i didn't have metalink registration.i hope i am not boring you.
    Thanks in advance.

  • Streams Replication:Source database Physical or Logical Standby DB

    Can the source database in streams replication be a physical or logical standby database ? If so, is the process of configuring streams the same as a regular database ? Are there any best practices or different configuration if the source is Logical or Physical standby DB ?
    Thanks in advance.

    Never done it, but I don't see any reason why it should not work.
    Streams, at capture site, is only a data dictionary game and in a logical standby your data dictionary is open read write.
    Streams, at capture site, never touch the source tables, in fact they may even not exists from Streams point of view,
    as it deals only with the redo that are generated.
    So Streams horizon is limited to the data dictionary, the log buffer, the archives and, in SYSAUX tablespace, all the LOGMNR_% tables. All these structures are read write in the logical standby. However, for the capture/propagation you may have to set to true the 'include_tagged_lcr' parameters.

  • A question about learning Streams Replication

    Hi
    I'm going to learn Streams Replication , I want to know that, do I need study all "Oracle® Streams Concepts and Administration" document (http://download.oracle.com/docs/cd/E14072_01/server.112/e10704/toc.htm) before study "Oracle® Streams Replication Administrator's Guide" (http://docs.oracle.com/cd/E18283_01/server.112/e10705/toc.htm) ?
    Thank you

    There are several docs at MOS with examples and steps on how to configure various Streams scenarios. Both the Packt and Oracle Press books are very good. Going through these items will make the Oracle docs much easier to digest.
    Edit
    See: Master Note for Streams Setup Scripts (Doc ID 789445.1)
    Edited by: stevencallan on Nov 14, 2011 9:12 AM

  • Oracle 10g streams replication problem.

    Hi,
    Can someone help me oracle replication troubleshooting ?
    I have source and target databases. I have setup one-way stream replication successfully. Whatever data I insert into table A, it is replicated to target database succesfully.
    However, if I delete the records from the destination database and then it does not apply old values of the source database to destination database.
    I reset the START_SCN in the source database and then I setup destination SCN number using DBMS_APPLY_ADM.SET_SCHEMA_INSTANTIATION_SCN and started capture process on the source database.
    Can somebody help how should I recover the destination database ?

    Hi Basu,
    Thanks a lot for response
    I set up streams between between source and destination database using schema instantiation and setup SCN number for destination after which apply process apply all the changes and all it is woking file.
    Now I deleted records from table of the same schema in the destination database. Now how do I get all the records in this table using streams.
    I looked at the oracle doc and found that I need to do build using dbms_streams_capture package and I did that and after that I reset START_SCN to the old value on the source database. I also reset the SCN at the SCHEMA label on the destination database for apply process to re-apply the old changes. But all this did not help me to get old data.
    Do you know specific steps which I need to do to get old data ?
    Thanks a lot

  • Not able to login after configuring SSH.Please reply

    i have configured AAA on Cisco aeronet 1400 series wireless bridge (AIR-BR1410A-A-K9).After configuring i am not able to login to the device via telnet and via putty.Soon after enabling SSH i am not able to login even through SSH.The below are the commands i have configured on the device.I used to configure the same commands on my Cisco Switches also.
    Layer -2
    ip domain-name NETS
    crypto key generate rsa general-keys modulus 1024
    ip ssh version 2
    aaa new-model
    aaa authentication login Login-LAN group tacacs+ line
    aaa authentication enable default group tacacs+ enable
    aaa accounting exec EXEC-LAN-L2 start-stop group tacacs+
    aaa accounting commands 1 Level-1-LAN-L2 start-stop group tacacs+
    aaa accounting commands 15 Level-15-LAN-L2 start-stop group tacacs+
    tacacs-server host 10.254.0.140 key !n01#zh3r3@|2
    line vty 0 4
    accounting commands 1 Level-1-LAN-L2
    accounting commands 15 Level-15-LAN-L2
    accounting exec EXEC-LAN-L2
    login authentication Login-LAN
    transport input ssh

    Hi,
    Check out the connectivity between cisco aeronet and TACAS server and what is the failed logs says in tacas server.
    If possible try to change the configuration to aaa authentication login Login-LAN(default) group tacacs+ line and then try what exactly happens.
    Hope that helps
    Regards
    Ganesh.H

  • ITunes movies no longer sync from Dell laptop or MacBook Pros (both authorized devices) to iPhone 6s or iPad Air 2s after configured at Apple store yesterday.  In the past I could see the movies in iTunes with the cover photo and sync.

    iTunes movies no longer sync from Dell laptop or MacBook Pros (both authorized devices) to iPhone 6s or iPad Air 2s after configured at Apple store yesterday.  In the past I could see the movies in iTunes with the cover photo and sync to the other devices but now there is a listing a movies with no cover photos and in fact if I try to view the movie on the MacBook Pro it cannot be found unless I download it.

    All I had to do was complain.  I synced my iPhone to the Windows machine, checked the other account at iTunes prompting (where no apps had shown up previously), reconnected the iPad, and 140 apps downloaded including the App Store.  I have no idea why.

  • Am getting this message when i try to play music " unable to configure network stream"

    am getting this message when i try to play music " unable to configure network stream"

    Hold on... advice to someone downloading from 1337x !!!
    Until I saw your comment and googled the term, I had no idea that this was a "downloaded" file. I assumed the "1337x" reference was to dimensions/resolution and Noir referred to genre. (I.e., I use similar notations the differentiate files compressed for TV playback comparisons.) In any case, the advice is the same irrespective of the source.
    er, isn't it illegal to download movies ?
    Not necessarily. Thousands of movies are probably downloaded daily as legal purchases from such vendors as iTunes. Thousands more are available for free in the public domain, open source/community videos listings, and under Creative Commons Licensing. In short, there are many legal sources of downloadable content and you should not automatically jump to the conclusion that everyone is a crook.

  • After configuring DMZ unable Supplier login to Sourcing modules

    After configuring DMZ unable Supplier login to Sourcing modules
    You have encountered an unexpected error. Please contact the System Administrator for assistance.
    Regards,
    Amit Chowrasia

    mikey.askdbaonline wrote:
    Anybody face this issue earlier we are also getting error
    [Wed Jan 16 07:28:08 2013] [error] mod_ossl: Unknown error
    [Wed Jan 16 07:28:08 2013] [error] mod_ossl: SSL call to NZ function nzos_Handshake failed with error 29014 (server test.com:4443, client 192.168.1.22)
    [Wed Jan 16 07:28:08 2013] [error] mod_ossl: Unknown error
    [Wed Jan 16 07:28:08 2013] [error] mod_ossl: SSL call to NZ function nzos_Handshake failed with error 29014 (server test.com:4443, client 192.168.1.22)
    [Wed Jan 16 07:28:08 2013] [error] mod_ossl: Unknown error
    Regards,
    Amit ChowrasiaWhat is your application release? What version of JRE you are running?
    Is SSL enabled?
    Is the issue with one module only?
    What document did you follow to implement DMZ?
    Can you find any errors in access_log file (assuming the above from error_log file)?
    Can you find any errors in the application.log file and/or in the database log file?
    Thanks,
    Hussein

  • Streams replication in Oracle XE.

    Hi,
    I'm planning an implementation of Oracle Streams replication. Some of the considerations and facts are stated below.
    1. DDL Changes will be maintained.
    2. Replication will be Bi-Directional.
    3. The operating system on the source and downstream sites are the same.
    4. The hardware and operating system architecture on the source and downstream sites are the same.
    5. Both the source database and the downstream database are be running Oracle Database 10g (details below).
    Source Database
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Beta
    PL/SQL Release 10.2.0.1.0 - Beta
    CORE 10.2.0.1.0 Beta
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Beta
    NLSRTL Version 10.2.0.1.0 - Beta
    Downstrean Database
    Personal Oracle Database 10g Release 10.1.0.2.0 - Production
    PL/SQL Release 10.1.0.2.0 - Production
    CORE 10.1.0.2.0 Production
    TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
    NLSRTL Version 10.1.0.2.0 - Production
    Here I have found that Oracle XE (source) is not supporting the local capture process.
    My questions:
    1. Can I consider downstream capture in this scenario? (As I have Personal Oracle Database 10g Release 10.1.0.2.0 as downstream database)
    2. In case of archive log downstream capture what will be the most efficient way of redo log transportation.
    Thanks in advance.

    1. In a RAC cluster? The name I would put in the scripts is "insanity." Why? You are going to bring this instance to a crawl.
    2. No problem in doing a transformation. The problem was in your first question.
    3. I wouldn't worry much about monitoring it. I'd just get a stopwatch and see how many seconds before it crashes.
    If the data is in one schema in the database then just make it available, via object privs, to the others. Replicating it, as you have described, is likely going to be a painful experience in far more ways than just wasted storage.

  • Fresh install of solaris 10 x86 hangs after 'Configuring devices'

    Hi All,
    I just received a new SuperMicro server with an LSI MegaRAID SAS 9261-8i controller. While trying to install Solaris 10 it hangs after "Configuring devices". I checked the LSI page and Solaris 10 is supported according to them. Any ideas how to proceed?
    Fairly new to Solaris on x86 hardware.
    The system has a Xeon X5690 processor in an Intel Workstation Board S5520SC motherboard. The motherboard documents claim that not disabling usb 2.0 can hang an install. I have disabled the usb 2.0 in the bios but the system still hangs. Booting it with the -kd and -kv options don't give much information.
    Any help is appreciated. I might be returning these machines if I can't get this worked out.
    Cheers,
    Steve
    Edited by: 967729 on Oct 25, 2012 3:51 PM

    See if you can add the verbose option "-v" to the kernel boot options. I think you can get to the GRUB menu off the Solaris 10 install disk. That should tell you what device is causing the hang, or at least the last device that worked.
    Also, can you try Solaris 11 and see if it gets past that point? A few years ago I has a similar issue with Solaris 10 on a Dell server. Solaris 11/OpenSolaris worked fine, though. IIRC I could work around the issue if I disabled the 2nd CPU - Solaris 10 had a problem bringing up the 2nd CPU on that Dell's CPU/MB config.

  • Streams Replication: Logical Standby DB as source

    I don't have much experience with streams replications. So, the following might sound like a silly questions to Oracle Gurus:
    If the source database is a logical standby database, can stream replication be used to replicate some of the tables in the source database to the target DB ?
    The source and the target DB are 11g R2.
    Thanks in adavance:
    - Sanjay
    Edited by: sanjayku on Dec 8, 2010 4:38 PM

    Never done it, but I don't see any reason why it should not work.
    Streams, at capture site, is only a data dictionary game and in a logical standby your data dictionary is open read write.
    Streams, at capture site, never touch the source tables, in fact they may even not exists from Streams point of view,
    as it deals only with the redo that are generated.
    So Streams horizon is limited to the data dictionary, the log buffer, the archives and, in SYSAUX tablespace, all the LOGMNR_% tables. All these structures are read write in the logical standby. However, for the capture/propagation you may have to set to true the 'include_tagged_lcr' parameters.

  • Production moves to another server with existing streams replication

    Hi All,
    We have oracle bi directional streams replication setup between 2 server(us and uk). Everything is working as expected.
    But,We are going to move UK server from (ex: cam19 to cam29).
    Will it impact on replication setup.
    we will restore new server via cold backup.Also we will stopped all the process on both the sides ,before cold backup.
    Can you please suggest? What should we do before doing that.
    How we can avoid any problem while moving server.
    so it will not impact on replication.
    Thanks in advance!!!!
    Many Thanks
    nick

    Thanks a lotz Anurag..
    I have one small question not on same topic, Its regarding table add in existing replication setup.
    What happened ,When we add a new table to existing replication setup if any reason table is not replicating between two database then we have to remove the rules for that particular table and setup again. Some time what happened we got error "queue has errors" i dont know the ORA number.
    in that case what cases when apply process ABORETED and when we try to start the process it gives same error and ABORTED again.
    then we have remove the whole replication Manually and setup again. It's very horriable....
    Could you please help that before drop the rules for particular table then wht should we do ? Do we need to unscheduled the propagation process and then drop the rules becuase i read on metalink that negative rules drops while propagation process using the same rule set.
    Please Suggest!!!!!!!!!!
    Many Thanks

  • Forms Applet hangs after configuration of webutil

    Hi,
    I have Oracle Application Server 10g Release 2 with Oracle Database 10g on Windows 2000 server. Browser is IE6
    Our application was working fine. But for one of the functionality, we used webutil and after configuration of webutil on AS, the application is not launching.
    Applet hangs showing applet initiated and in java console it shows
    Downloading http://localhost/forms/java/frmwebutil.jar to JAR cache
    RegisterWebUtil - Loading WebUtil Version 1.0.6.
    I have signed both frmwebutil.jar and jacob.jar.
    I have followed all steps mentioned in the document for configuration.
    I think still there is something missing.
    Please give some pointers on resolving this issue.
    Thanks
    AT

    Do the following:
    1. On client machine, exit all open browsers.
    2. If you are running Developer Suite, stop OC4J.
    3. Manually delete JAR cache. Delete all files in:
    C:\Documents and Settings\<USER NAME>\Oracle Jar Cache
    4. Delete the following file (your JInitiator version may be different):
    C:\Documents and Settings\<USER NAME>\jinitiator13129.trace
    5. Open the Jinitiator Control Panel which can be found on the Windows Control Panel and add the following to the "Java Runtime Parameters" on the Basic tab:
    -Djavaplugin.trace=true -Djavaplugin.trace.option=basic
    Click on Apply and exit the Control Panel
    6. On the server, add the following to the formsweb.cfg:
    WebUtilLogging=on
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    6. If the server is a Unix platform, recompile the form and ensure that you use the COMPILE_ALL=YES option.
    7. Retest one time. Do not try more than one time as this will create too many entries in the trace file.
    8. After the failure has reproduced, exit the form and the browser. Open the new jinitiator13129.trace file and carefully review. It is likey you will find the cause of the problem in this file. At minimum, a hint should be offered.

Maybe you are looking for

  • Mac Book Does Not See XP as Option On Startup with 'Option' Key

    After successful install of XP Pro, my Mac Book only shows the Mac HD on startup when I hold down the 'Option' key. Per instructions, this procedure is suppose to show both the Mac & Windows HDs and allow a choice at startup. Ant ideas how to fix?

  • Product ID in Local PO (ECS)

    Hi Gusy! Our scenario is ECS and we're using material numbers in the catalog. These materials are not replicated to SRM. In the call structure for the catalog we maintained  "Do not check product". This works fine as long we maintain the material num

  • Red exclamation point on desktop icons

    After upgrading to Photoshop CS5 I noticed that many of my desktop icons (jpgs, pdfs) had a red circle with a white exclmation point and the system is running slow.  I googled this and the only posts I could find relate to computers that use backup s

  • Can I select the query elements of structure manually in transport conn

    Hello all, I am trying to select a structure and the elements of the structure manually in transport connection. I am able to slect the structure from from query elements -> structure but now how can i select (manually) the items like new selections

  • SQL Server 2008 Developer install failed - Attempted to perform an unauthorized operation

    I'm trying to install SQL Server 2008 Developer edition on my laptop running Windows XP Professional SP2.  I ran the installer as a domain user with admin rights to the local box.  The installation advisor program certified that my system was ready f