Trigger Between two DB located on different Server

Hi Everyone,
According to my project requirement I need your help to create a trigger on one table employee of my 10g DB located on server 172.128.1.62, which will trigger for any Delete, Update and Insert and update the same on its duplicate table located on different server(172.128.1.201).
Eg:
Table EMPLOYEE (on 172.128.1.62) refer as A
SrNo        E_Name      Salary
1             Fizzz           5000
2             Albert        8000
3             John          6500
Table EMPLOYEE (on 172.128.1.201) refer as B
SrNo        E_Name      Salary
1             Fizzz           5000
2             Albert        8000
3             John          6500
Now If I update table A and change salary of John from 6500 to 7000 and delete Employee Fizzz from table A
Then I need a trigger to get fired and update the same in table B
After table A updated table B should look like:
Table EMPLOYEE (on 172.128.1.201) refer as B
SrNo        E_Name      Salary
1             Albert        8000
2             John          7000
I already scratch my head but did not find anything, Now this is became very critical requirement, Please somebody help me to achieve this task.
Thank you very much,
Fizzz. Edited by: Fizzz on Sep 22, 2011 4:36 PM

I would not consider doing it myself with triggers. It will practically be guaranteed that at some point in time your data in B will by out of sync with A.
There are several methods of doing replication. At least two technologies can be chosen from:
[url http://download.oracle.com/docs/cd/E11882_01/server.112/e10706/toc.htm]Advanced replication
[url http://download.oracle.com/docs/cd/E11882_01/server.112/e10705/toc.htm]Streams replication
Both can be setup in various ways ranging from simple two-database one-way replication that refreshes periodically (for example a fast refreshable materialized view) to multi-database multi-way replication of complete schemas.
We have had success with relatively simple materialized views for one-way replication of tables from one database to another. Read chapter 3 in the Advanced replication guide ;-)

Similar Messages

  • Performance between two partitionned tables with different structure

    Hi,
    I would like if there is a difference between two partitionned tables with different structure in term of performance (access, query, insertions, updates ).
    I explain myself in detail :
    I have a table that stores one value every 10 minutes in a day (so we have 144 values (24*6) in the whole day), with the corresponding id.
    Here is the structure :
    | Table T1 |
    + id PK |
    + date PK |
    + sample1 |
    + sample2 |
    + ... |
    + sample144 |
    The table is partionned on the column date, with a partionned every months. The primary key is based on the columns (id, date).
    There is an additionnal index on the column (id) (is it useful ?).
    I would like to know if it is better to have a table with just (id, date, value) , so for one row in the first table we'll have 144 rows in the future? table. The partition will already be on the columns (id, date) with the index associated.
    What are the gains or loss in performance with this new structure ( access, DMLs , storage ) ?
    I discuss with the Java developers and they say it is simpler to manage in their code.
    Oracle version : Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Thanks & Regards
    From France
    Oliver
    Edited by: 998239 on 5 avr. 2013 01:59

    I mean storage in tablespaces and datafiles on disk.
    Can you justify please and give me concrete arguments why the two structures are equivalent ( except inserting data in T(id, date,value))
    because i have to make a report.i didnt say any thing like
    two structures are equivalent ( except inserting data in T(id, date,value)i said
    About structure : TABLE1(id, date, value) is better than TABLE1(id, date, sample1, .... sample144)because
    1) oracle has restriction for numbers of column. Ok you can have 144 columns now but for future if you must have more than 1000 columns , what will you do?
    2) Restrictions on Table Compression (Table compression is not supported for tables with more than 255 columns.)
    3) store same type values on diffrent columns is bad practise
    http://docs.oracle.com/cd/B28359_01/server.111/b28318/schema.htm#i4383
    i remember i seen Toms article about this but now i cant find it sorry ((( if i found i will post here

  • Stock transfer order between two storage locations in IS Retail

    Hi,
    I want to have a Stock transfer order between two storage locations in the plant.
    I have activated the "Activate Stock Transfer Between Storage Locations", now i can create a STO and have the "Issuing SLoc" tab.
    Having that i get an error message "Not possible to determine shipping data for material XXX" Message no. 06280.
    I am trying to have the shipping data in customizing for set stock transfer - "Define Shipping Data for Plants", but my site is not listed due to the use of IS Retail. Is there a way to configure it?
    Tnx
    Lior

    Hola.
    Voy a contestar tu pregunta en espanol. Debes crear al centro  emisor  como  deudor  en la transaccion WB02  y ampliar a la organizacion  de compra.
    Posterior, debes crear al centro  receptor como  acreedor en la transaccion  wb02.
    Cesar Moreno. Funcional MM Retail.

  • Transfer of stock between two storage locations within a plant in two steps

    Hi,
    We have a plant 6400 & we have two storage locations 6401 & 6402. Each storage location belongs to a department which are located at some distance from one another.
    The material to be moved from one storage location to another using a truck.
    For the above mentioned process can we have the following process
    (1) In first posting the material is issue from the storage location to a transit
    (2) In second posting the material from the transit is received into the storage location
    I am looking for a feature that is possible between two plants, can we have a similar feature available within a plant.
    Warm regards,
    Umesh

    Hi Umesh,
    It would be a business decision i suppose. If those 5 nos. are lost / damaged in transit & needs to be scrapped, then the ownership needs to be decided first. If it lies with the sender, then reverse the 5 nos. (MB1B mvt is 314) & then proceed with your scrapping or if it lies with the receiver then receive the 5 nos & then proceed with the scrapping.
    Posting in system is one aspect, but a clear business rule is the key factor. So discuss with your materials mgmt personnel to define the process flow.
    Hope the above helps.
    Regards,
    Vivek

  • Inspection lot for Mvt type 311 between two storage location only

    Hello all,
    I want to create an inspection lot only whenever my material transfer between two particulars storage locations. e.g if i have multiple storage locations, then i need an inspection lot to be created whenever my material transferred from say X S.Loc to Y S.loc only. For other transfers i don't need to create an inspection lot even from Y to X.
    For more clarity, suppose i have ten storage locations. i have also created one storage location for my Lab. So I want an inspection lot to be created only when my material transfer to my Lab storage location from any other storage location, not when i transfer from my LAB to any other S.Loc or between two S.Loc other than LAB.
    I have activated inspection type 08 but it does not have a restricition on S.Loc.
    So please suggest some solution for the same.

    Dear Amit
    In this case what you can do is make a copy of 311 movement type, say Z11. Deactivate QM for 311 and activate QM for Z11
    So whenever you want inspection lot to be created use Z11.
    You can activate and deactivate QM in QCCO > Quality inspection > Inspection lot creation > inspection for goods movement
    Regards
    Gajesh

  • How fetch data from a view(which is located in different server) using Oracle APEX webservices

    Hi,
    I have a requirement to fetch the view data from client instance(which is different server) to another instance lets say Development instance
    Requirement:
    Need to get the Apps View data from the Desired EBS instance(which is accessible online) using webservices,and display it in the Oracle Apex Development Instance.
    Kindly provide your inputs how to achieve this.
    Thanks in advance
    keerty

    Are you getting an error? The way you have it set up, you can have an error and it will never be displayed. Put and error control on your front panel and see what it gives you. Also, shared variables in a project can be useful. Look at some examples for that.

  • How do I share music between two iPads each with different apple ids?

    I have an iPad retina display and my son has the iPad mini. We have different ids. How do i send my iTunes music to him? My iTunes doesn't seem to have a menu that says file or preferences. Also what is home share? We don't have a desk top. Just the iPads

    Home Sharing allows you to share music from a computer to another computer or device, it doesn't work between just devices, it needs a computer.
    Home sharing : http://support.apple.com/kb/HT3819
    You could potentially log in with your account on his iPad and re-download your music (if you are in a country where music can be re-downloaded), but you risk tying his iPad to your account for 90 days (so it's probably not worth it) : http://support.apple.com/kb/HT4627

  • DB Copy (MSSQL) between two SAP systems with different level and Components

    Hi,
    we have a SAP system release mysap 2004 SR1 and for "the upgrade project  to SAP ECC 6.0 " we installed a new mysap 2004 in a new hardware (sap03) where we have also solution manager running. The new installed Mysap 2004 SR1 is alos running fine in the new hardware.
    Now we would like to do DB copy from the old system (sap02) to the the new system sap03 and then we will do the upgrade to SAP ECC 6.0.
    After I compared the two systems I have following questions:
    1) there are 4 Software Components which are not in the new system (sap03). This are:
    PI
    FIN_BLERP
    BP_INSTRASS
    Is this necesary for the DB copy or we do not need this to be able to do the DB copy?
    2) The Software Components Level is not the same. Should we have the same level to do the DB Copy?
    Thanks in advance
    Best regards
    HanseAtik

    Hi Juan, hi Clas,
    just to be clear and to not stuck on the the way:
    The systems are as follow:
    1) the source system:
                         - Windows Server 2003,
                         - MSSQL Server 2005 with 32 bit.
                         - Mysap 2004 SR1
    2) Target system:
                       - Windows Server 2003
                       - MSSQL Server 2005, with 64 bit.
                       - Mysap 2004 SR1 (with less Support package level and no PI, FIN_Basis, BP_BLERP and BP_INTASS coponents)
    I hope this will work. could you post the link the DB Copy guide we are talking about?
    By this way we will be sure that we are talking about the same DB Copy. Otherwise any mistake in this step will cost more work and time.
    Thanks in advance
    Best regards
    HanseAtik

  • Copy Key figure data between two planning area with different storage bucket profile

    Hi,
    I have a DP planning area ' PA1' with monthly storage bucket profile data view 'PA1M' ( monthly TBF) and I want to copy the data to another planning area 'PA2' whose storage bucket is weekly. This would need me to write a custom program which will split monthly to weekly and then populate 'PA2'.
    However, In 'PA2', I created two data views 'PA2W' (with weekly time bucket profile) and 'PA2M' (with Monthly Time bucket profile). If I am able to copy the data from PA1 (PA1M) to PA2(PA2M), it will automatically splits monthly to weekly in PA2W.
    So my question is if there exists a way I can copy key figure data from PA1M to PA2M? Any BAPI?

    Hi Rakesh,
    You can use COPY/Version Management Function to do this.
    Path: Demand Planning > Environment >Copy/ Version Management
    The system takes into account only those periodicities that are common to both planning areas.
    For example, if the data is saved in months in the source planning area (PA1) but in months and weeks in the target planning area (PA2)
    the system copies to months in the target planning area and then Disaggregates the data to the storage buckets in accordance with the Time-based Disaggregation.
    hope this wil help to understand the basic concept.
    Kapil

  • Cisco EEM trigger between two device, it posable?

    Hello I have question, can I see message form Switch to Router for activation EEM?
    I think one way use SMNP for this.
    On router side i have configuration:
    event manager applet snmp
    event snmp-notification oid 1.3.6.1.4.1.12345.1.0 oid-val "1" op eq maxrun 20000
    action 10 syslog msg "Triggered from Trap!"
    Can Cisco switch send SMNP msg to Router on with special OID? for activation Router Event?
    Maybe someone use another way for communication?

    Sure, this is possible.  You don't have to use purely customized traps, either.  You can use standard EEM traps.  From the source device, do something like:
    event manager applet ospf-change event syslog pattern "OSPF-5-ADJCHG" action 1.0 cli command "enable" action 2.0 cli command "debug ip ospf packet" action 3.0 snmp-trap intdata1 424242!snmp-server enable traps event-managersnmp-server host 10.1.1.1 traps public event-manager
    Then on the target device:
    event manager applet ospf-change event snmp-notification oid 1.3.6.1.4.1.9.10.91.1.2.3.1.9. oid-val "424242" op eq src-ip-address 10.1.1.2 action 1.0 cli command "enable" action 2.0 cli command "debug ip ospf packet"!snmp-server manager

  • Transfer large files between two Macs over the web

    I would like to transfer a number full quality photos from a DSLR between two computers located in different states. Both machines are Macs, running Tiger. I would prefer a direct transfer method rather than breaking the files into email messages, which would be quite time consuming given the size of the files.
    What is the best way to accomplish this? If the two machines were on the same local network it would be easy, but they are not so simply enable file sharing doesn't solve the problem (as far as I know). Can I enable FTP access on the host machine and access if from across the web? How would I figure out the proper address from outside the local network (assuming NAT is used on both ends). Is there a program I could use to make the process simpler (some sort of Bittorrent or DC++ program)?
    Or is there a good online service that is free that allows large amounts of storage?
    Thanks for the suggestions.
    -Josh

    You could...
    ...turn on port forwarding in the destination router, forwarding port 22 for ssh to the destination computer
    ...turn on remote login on the destination computer
    ...turn on file sharing on the destination computer
    ...open a Terminal window and type ssh -L5548:localhost:548 [email protected] 
    where "user" is a valid account name on the destination computer and "IP.of.dest.Computer" is the IP address assigned by the destination computer's ISP to its broadband modem. The destination computer can get this information from http://www.whatismyipaddress.com/ as BDAqua said. Then, so long as the ISP doesn't change the dynamic IP address before you actually do the transfer, you're okay. It's possible to get a free dynamic host name which circumvents this problem.
    After all that, then on the source computer, you would just do a ⌘k and enter localhost:5548 and select the shared user account and login, then the remote computer will mount like an icon on the desktop of the source computer, as if it werre a local external drive. Then it's just drag-and-drop. ⌘e when done, then in terminal, type exit and then ⌘q.
    I would not leave port 22 forwarded in the router any longer than I had to, unless you do a little work to harden your ssh remote login. However, even if you do nothing to harden it, it is way better as is than leaving ftp open.

  • Intrastat for goods movement between two plants

    Dear All
    I have question need your help.
    Now we have two plants located in different countries, one plant is in NL (Netherlands), another plant is in DE (Germany).
    And we transfer stock from NL to DE in SAP by MIGO(301). But actually this belongs to Import/Export business.
    So we need to report to Intrastat system. So we need to do the intrastat declaration.
    But could you tell me how I can realize the intrastat in SAP system.
    Currently we manually do the intrastat.
    Regards
    Eva

    For intrastat reporting you need to add a condition type in your pricing procedure GRWR.
    Requiremnet routine 8 . Alct condition base value formula need to be created to read net value, if net value is zero then to read cost price.
    Helpful links:
    http://help.sap.com/saphelp_40b/helpdata/fr/2b/274520995111d1b4e30000e82d81b0/content.htm
    http://help.sap.com/saphelp_40b/helpdata/en/34/60b19dae724effe10000009b38f91f/content.htm
    http://help.sap.com/saphelp_46c/helpdata/en/34/60b1a0ae724effe10000009b38f91f/content.htm
    Document on configruation:
    http://www.google.com/url?sa=t&source=web&oi=spellmeleon_result&ct=result&cd=1&ved=0CBIQhgIwAA&url=http%3A%2F%2Fwww.scmexpertonline.com%2Fdownloads%2FKees%2520Intrastat%2520download%25201-23-07.doc&rct=j&q=configurationforlegalreruiementsintrastat&ei=16n2S6HEEoqdlgfFlY2_CA&usg=AFQjCNFWXtBMAjyjJK9ZmxKuIj_3KEABaw
    Hope this is helpful
    Regards
    Sai

  • Gprs connection between two mobile phones

    Hi
    is it possible to make a gprs connection between two mobile phones without a server(pc...)? when the answer "yes" please give me an exapmle...

    I'm not sure, I'm just connecting some facts. I'm talking about Siemens S55. It has implemented sockets (both client sockets and server sockets). The phone, when connected via GPRS has IP address (Siemens' netmonitor reports it..). But i've never tried to use server-socket on my mobile.
    So it seems that it is in fact possible on some handsets. (AFAIK nokia 6610 and similar does not support sockets...)

  • Transferring applications between two Macs in different locations?

    What is the easiest way to copy an application between two Macs? I originally installed a graphics program on my old eMac G4, then used the Migration Assistant to transfer it to my new iMac G5. I then reinitialized the old G4 and didn't bother to reinstall the graphics program, but now I would like to have it on this machine as well and I can't find the original install disk for this application. Complicating matters is that the machines are now in two different places, one at home, one at work. This is an expensive program, so I would hate to have to buy another copy and am kicking myself for not being able to find it. Thanks for any help...

    If you can't find the original install disk for the program, contact the program vendor. Some may offer you a replacement disk for a nominal fee. And be sure to follow whatever license agreement you have for the purchase of that software. If it can't be installed at both home and at work, and you can't afford another copy of that program, you may want to seek a cheaper alternative.

  • 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

Maybe you are looking for

  • Remote access vpn clients, access to Internet resources

    Hello, we currently have a remote access vpn set up terminating on an ASA 5520.  Remote access users connect into this ASA and are able to access resources inside of the firewall- the public IP of the ASA is 1.1.1.135.  We need these users to be able

  • CL_GUI_FRONTEND_SERVICES- FILE_DELETE   --  use???

    How to delete a file from the presentation server (desktop) using the following method?? explain in detail with sample code. CL_GUI_FRONTEND_SERVICES->FILE_DELETE Regards, Kalai

  • TP3: Using PPR to auto populate 2nd component of PK

    Hi All I have a table with 2 attributes as part of a primary key. I have programmatically set the second attribute based on the first attribute value in the corresponding *RowImpl.java class. When executing via the Business Component Browser the seco

  • No stereo input in logic8, analog or digit., when not in universal track m.

    till now , in logic7 , I didnt work in Unversal track mode. When upgrading to logic8 ,its not possible to create a stereo input, analog or spdif,. When I try to record , I cannot see the waveform in arr. window, but when I stop rec. , the record is d

  • Tutorial on unifications

    Hello experts, I have worked on Portal Knowledge Management and Collaboration applications but haven't used unification so far. Can someone please send me some tutorial types documents to get me started on the topic. Thank you very much.