Reg: How to automate updation of tables between two oracle DB Instances

Hi All,
I have a requirement to auto update the tables between two oracle database instances. What are the possible solutions to handle this kind of situations.
Please help me out in identifying the correct solution.
Thanks in advance :)

The possible solutions are outlined in the distributed database documentation
They are
a) trigger (6.0 and higher)
b) advanced replication. Creates triggers on every table. Requires every table to have a primary key (8.0 and higher)
c) Streams (Uses logminer, has no impact on table. Requires every table to have a primary key, or supplemental logging will be used. (9.0 and higher)
d) Change Data Capture: superset of Streams (9i and higher).
If you don't require realtime updates you don't need c or d. b is difficult to manage. Using a) the source db can potentially have to wait for the target db to complete it's transaction.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • How to automatically update marked table

    Hi Friends,
    I am using Oracle SQL Developer and want to set the in Preferences menu that my actual selected and viewed database table is marked automatically in Connections/Tables menu.
    How can I set this function in Oracle SQL Developer.
    Br,
    Ugur

    There is currently no way to do this. I think it could be quite useful. You can raise an enhancement request in the SQL Developer exchange.

  • How can I get the difference of  tables between two oracle server?

    We team have 2 oracle servers in the same version.
    one is develop server and the other is priduct server.
    I want to know what is difference in tables define between the two oracle servers.
    give me a method or a step or a sql script or a tool to compare these two set of tables.
    Edited by: Oracle-Sunmeng on Aug 1, 2012 6:36 PM

    Hi Sunmeng,
    Does Database Link exists between Databases ??
    If I am Clear, Are you looking Something like this.
    To Identify the tables difference, you can query the USER_TAB_COLUMNS view.
    SELECT DISTINCT table_name, 'User1' AS user_table
               FROM user_tab_columns
    UNION ALL
    SELECT DISTINCT table_name, 'User2' AS user_table
               FROM user_tab_columns@dblink
           ORDER BY 1;Which gets us all the Tables available in Both User. where you can filter based on what
    you require.
    Similary, you for column difference
    SELECT   table_name, column_name, 'User1' AS user_table
        FROM user_tab_columns
    UNION ALL
    SELECT   table_name, column_name, 'User2' AS user_table
        FROM user_tab_columns@dblink
    ORDER BY 1;If you need to count the no of columns in both Tables of different databases. Then try this,
    SELECT table_name, 'User1' user_name,
           (SELECT MAX (column_id)
              FROM user_tab_columns a
             WHERE a.table_name = b.table_name) colno
      FROM user_tables b
    UNION ALL
    SELECT table_name, 'User2' user_name,
           (SELECT MAX (column_id)
              FROM user_tab_columns@dblink a
             WHERE a.table_name = b.table_name) colno
      FROM user_tables@dblink b;And, what the Columns in both tables may be same but, if datatype and length of column differs ?????
    Thanks,
    Shankar
    Edited by: Shankar Viji on Aug 1, 2012 10:47 PM
    Edited by: Shankar Viji on Aug 1, 2012 10:49 PM

  • How to automatically update products and product categories?

    Hi friends
    How to automatically update products and product categories.Is it possible?
    regards
    venkat

    Hi,
    The delta load does not work for product categories but only products.So to bring in the new product categories into SRM you will need to start the load of the object DNL_CUST_PROD1 again.
    The CRM middleware allows the following two methods for replication.
    -Initial loads:
    Launched manually (R3AS), the objects (customizing or business) are replicated between SRM and R/3, according to the filters you've put on the object (R3AC1 for Business objects like MATERIAL, R3AC3 for customizing objects like DNL_CUST_PROD0 and 1).
    -Delta loads:
    This option is only possible for Business objects, which is the case of MATERIAL.
    With this option a daemon is launched between the 2 servers. Every modification made on an object on SRM or R/3 is transfered as soon as this object is contained in the filter retrictions (creation and/or modification). this is done through transaction R3AC4.
    Also refer the foll thread:
    Material group from R/3 to COMM_CATEGORY (SRM)
    Related notes : OSS notes 872819 and 720819.
    BR,
    Disha.
    DO  reward points for helpful answers.

  • How to find the structural difference between two tables

    Hi all,
    How to find the structural difference between two tables .
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE 11.1.0.7.0 Production
    TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    Thanks,
    P Prakash

    you could try something similar to this, for each table pair that you want to compare:
    SELECT 'TABLE_A has these columns that are not in TABLE_B', DIFF.*
      FROM (
            SELECT  COLUMN_NAME, DATA_TYPE, DATA_LENGTH
              FROM all_tab_columns
             WHERE table_name = 'TABLE_A'
             MINUS
            SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
              FROM all_tab_columns
             WHERE table_name = 'TABLE_B'
          ) DIFF
    UNION
    SELECT 'TABLE_B has these columns that are not in TABLE_A', DIFF.*
      FROM (
            SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
              FROM all_tab_columns
             WHERE table_name = 'TABLE_B'
             MINUS
            SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
              FROM all_tab_columns
             WHERE table_name = 'TABLE_A'
          ) DIFF;that's assuming, column_name, data_type and data_length are all you want to compare on.

  • How does one update Std Table EDIPHONE(there is no Table Maintainance)?

    How does one update Std Table EDIPHONE(there is no Table Maintainance)?
    Regards,
    Shashank.

    You should not update the standard database table directly.
    through the partner profile tcode: WE20 you can update the table EDIPHONE.
    u can choose required partner profile in the WE20, select the tab 'Telephony', and update the data, the table EDIPHONE will get updated.
    if you want to maintain this edi phone data for a particular message type/s then select inbound/output parameters and double clikc on it, go to last tab in teh screen 'Telephony',  and updated the required data.

  • How does SAP updates MKPF Table Through TCODE MB0A

    Hello There,
       how does SAP updates MKPF Table Through TCODE MB0A ( POST GOODS RECEIPT )? I tried to debug the same by posting GR, but could not figure out.
    Awaiting Reply
    Santosh

    Hi ,
    These are the table that are updated through the MB0A ,,
    DGESV DMAEX DMAKT DMAPE
    DMARM DMEAN DMKAL DMLAN
    DPROW DQMAT DUNGV MARA
    MARC MARD MBEW MFHM
    MLGN MLGT MPGD MPOP MVKE,
    MCHA, MCHB, MCHD.
    Regards,
    Bharani

  • Intervals, synchronize the data between two oracle tables located in diffe

    Hi Experts,
    Is there any way I can, at set intervals, synchronize the data between two oracle tables located in different servers? What is the software, if there is any? If there are steps I can follow, so much the better.
    Thanks!

    I'm not sure what you want to achieve here...
    I want to synchronize both the Servers , so that it can update HO servers as well as Factory Server with the complete data. Could you please elaborate a little bit more; basing on your description I could also tell you how to setup timesync for those two servers if I understand "complete data" as the current date and time...
    Also a lot of solutions are platform and version specific so it would help if you could indicate OS and Database Versions (4 digit).
    And I still fail to see what this has to do with forms. You might want to post your question to the Database General forum: General Database Discussions
    cheers

  • Error while running code template mapping between two oracle tables

    Hello All
    Iam getting the following error while running code template mapping between two oracle tables. Using OWB 11gR2 and oracle 11gR2 DB.
    java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping
    c: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1065
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1087
    ORA-06512: at "SOURCE.FILENET_EX_UNIT_3", line 555
    ORA-06512: at line 4                                        
    Job 51 error: java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1065
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1087
    ORA-06512: at "SOURCE.FILENET_EX_UNIT_3", line 555
    ORA-06512: at line 4
    Quick help is highly appreciated.

    Dera Dallan
    its only a target user for the workspace where you are deploying the mapping from.
    I have two repositories for two different projects. each repositary has its own workspace.
    ex:-
    Project 1
    Work space bpms_rep_owner
    Repositary owner bpms_rep_owner
    Repositary user bpms_rep_user
    Project 2
    Work space dem_rep_owner
    Repositary owner dem_rep_owner
    Repositary user dem_rep_user
    Reg
    S.Gyazuddin

  • How to define the dynamic navigation between two component in web ui

    Hi All,
    I have a requirement to create a new assignment block in accounts overview screen .
    1.Created new view(Table view) in the BP_HEAD component.
    2.Created new button on the table view toolbar .
    3.If the user clicks the new button it should navigate to interaction log component(BT126H_CALL).
    Please hekp me step 3 how to do .
    I have checked planned activity assignment block in the account but is dynamic navigation.
    Please explain me how to define the dynamic navigation between two components.
    What is window delegate .
    Thanks,
    Venkyy

    Hi ,
    Kindly follow the link , this will be helpful for your issue :
    http://wiki.sdn.sap.com/wiki/display/CRM/CRM-NavigatingtoyourcustomBSP+component

  • How to find the phase difference between two signals using Hilbert transform

    hi, 
        I am new to LabView.... I am trying to find phase difference between two signals. I sucessfuly found out the phase difference between two predefined waves using single tone measurement. .... But I really want to know how can I measure phase difference between two signals( not predefined... ie we don't know the initial conditions) using hilbert transform or any transformation techniques (without using zero cross detection).. I tried by using hilbert transform based on algorithm... bt I am getting error.... plz help me
    Attachments:
    phase_differece.vi ‏66 KB

    you could try something similar to this, for each table pair that you want to compare:
    SELECT 'TABLE_A has these columns that are not in TABLE_B', DIFF.*
      FROM (
            SELECT  COLUMN_NAME, DATA_TYPE, DATA_LENGTH
              FROM all_tab_columns
             WHERE table_name = 'TABLE_A'
             MINUS
            SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
              FROM all_tab_columns
             WHERE table_name = 'TABLE_B'
          ) DIFF
    UNION
    SELECT 'TABLE_B has these columns that are not in TABLE_A', DIFF.*
      FROM (
            SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
              FROM all_tab_columns
             WHERE table_name = 'TABLE_B'
             MINUS
            SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
              FROM all_tab_columns
             WHERE table_name = 'TABLE_A'
          ) DIFF;that's assuming, column_name, data_type and data_length are all you want to compare on.

  • How exchange messages between two user-bean instances?

    Hi,
    I would like to let several user to log-in my web site (I'm using tomcat) and then let them exchange some messages until they are logged-in. Is there a way using JSF?
    I was thinking about implementing a list of messages inside each user-bean. The user should know that other users are logged-in, that could be listed in a table, and click on its name. I would like that the click action create an item in the list valiable of the selected user. Is that possible using JSF? I didn't find any of such kind of communication between two user-bean instances.
    Do you have any hints? Is that the right way or is there other possibilities?
    Thanks

    You could get hold of a map of sessions in the application scope. Make use of HttpSessionListener to add/remove sessions to/from the map.
    JSF is just another component based MVC framework on top of JSP/Servlet. Everything which you can do in JSP/Servlet is just still possible. You only need to understand how JSF works under the hood.

  • How to calculate the hour difference between two dates?

    hi all,
    how to calculate the hour difference between two dates?
    eg i trying this...
    ((TO_DATE(TO_CHAR(GRNi.reference_date_4,'hh24:mi'),'hh24:mi') -
    TO_DATE(TO_CHAR(NVL(GRNi.reference_date_3,SYSDATE),'hh24:mi'),'hh24:mi'))*24)*60 Act_Hr
    Reg.
    AAK

    Hi
    To break the diff between 2 dates into days, hours, minutes, sec -- you can use the following:
    select to_char( created, 'dd-mon-yyyy hh24:mi:ss' ),
    trunc( sysdate-created ) "Dy",
    trunc( mod( (sysdate-created)*24, 24 ) ) "Hr",
    trunc( mod( (sysdate-created)*24*60, 60 ) ) "Mi",
    trunc( mod( (sysdate-created)*24*60*60, 60 ) ) "Sec",
    to_char( sysdate, 'dd-mon-yyyy hh24:mi:ss' ),
    sysdate-created "Tdy",
    (sysdate-created)*24 "Thr",
    (sysdate-created)*24*60 "Tmi",
    (sysdate-created)*24*60*60 "Tsec"
    from all_users
    where rownum < 50
    HTH
    RangaReddy

  • How do i stop contact synching between two iPhones?

    how do i stop contact synching between two iPhones?

    Stop syncing them to the same source. If you're sharing an iCloud account with someone, don't do that.

  • HT5646 should I set up a different account for each child?  if so, how do I manage itunes money between two kids?

    should I set up a different apple account for each child?  if so, how do I manage itunes money between two kids?

    Hello staatsfamily,
    Having a separate Apple ID for each child will allow each child to keep their purchases and iCloud information separate.  It will also allow you to provide an iTunes Store Allowance for each child:
    With iTunes Allowance, you can send a monthly iTunes Store credit to anyone with an iTunes Store account. It's a great way for parents to manage their children's spending on the iTunes Store, App Store, and iBooks Store.
    Once you have created an Apple ID for each child, you can provide an iTunes Store allowance to each Apple ID. The following article will guide you in how to set this up:
    iTunes Store Allowance
    http://support.apple.com/kb/ht2105
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

Maybe you are looking for

  • How do I retrieve my music and apps after installing iOS5 on my ipod touch?

    After 'backing up' my ipod, I was prompted to install iOS5 onto my ipod. I then proceeded to install. I knew iit would take some time to install new OS, so I let it be. After about an hour or so I came back to check on my ipod, low and behold, it had

  • Convert Illustrator script from cs3 to CS5

    Hi Everyone, I'm new to illustrator scripting I did some simple InDesign script before but this the first time I am ask to create script for Illustrator. We have an old script that will create a report for the properties (e.i.: fonts, linkedImages, s

  • 2lis_04_P_comp problem with R/3 mb51

    HI I have created a query on a cube which is based on 2lis_04_p_comp now problem is i m taking 0withdrawan KF in report and its coming in -ve coz ENMNG is marked as reversal in Datasource I m told that it should match with qunatity in mb51 for materi

  • Creating newsletter for a website

    I have created a small newsletter that is to become a quarterly nationally distributed via a private sect of a website. I have been told the webmaster cannot "index" the issue with the table of contents ,previous issues already published and how to t

  • Music and podcasts are grey on my itouch

    I am really frustrated with this.  Ever since I upgraded to the new version of iOS6 I've been having issues.  I can see all of my songs and podcasts on my iTouch but a good bit of them are gray and I cannot play them.  They seem to appear fine in iTu