Database Synchronisation

Hi,
I have 2 oracle databases that I need to keep synchronised in real-time. They both have different data structures and updates can be made to both databases through different systems. i.e. two-way synch.
I am currently thinking that I could use triggers on tables in both databases with a log table that both databases can access.
Could anybody give me advice on whether this would be a good idea? Are there any alternative methods that I could investigate
Thanks for any help

it is somewhat complicated to guess what you really want to do. the technologies, which might help you include:
- make tables in the either database visible via a database-link
- setup snapshot-replication between the database. this can be done either in a way, that data can be updated on both sides or in a way, that tables are read-only in one system.
- setup a multi-matser replication between the two databases. there are again many options like doing it synchronously or asynchronously.
after setting up some replicated environemnets i am quite sure, that it is normally no good idea to write a replication on your own -- it looks quite easy from the distance but error-handling is terribly complex.
i could give you more specific information when you tell a bit about what you want to set up (feel free to send a mail)
olaf
[email protected]

Similar Messages

  • Always On Alerting - Synchronisation Failure

    Hi,
     I've setup a SQL AlwaysOn Availability Group between 2 Windows 2012 Servers runing SQL 2012 using a file share witness. I'm using synchronous commit between the two nodes and I'm using a file share witness.
     How can I configure alerting so that if the database synchronisation stops for any reason, an email is raised?
    Thanks in advance,

    Hi  Peter,
    To configure alerts for SQL Server AlwaysOn availability Group, firstly, you can execute the following scripts to get error messages for alerts relating to AlwaysOn availability Group. Then choose the specific error numbers that indicate database synchronization
    failure when creating alerts. For more details, you can follow the steps in the blog:
    Configuring Alerts for SQL Server AlwaysOn Availability Groups.
    SELECT message_id [error_number], severity, text
    FROM sys.messages
    WHERE text LIKE ('%availability%')
    AND is_event_logged = 1;
    Thanks,
    Lydia Zhang

  • Some doubt regarding oracle 9i lite

    Hai,
    I am doing R @ D on 9i lite. My scenario is as follows,
    1. first i installed oracle 8i 8.1.7 database.
    2. using oracle 9i lite 5.0.2 setup, In another machine instllaing mobile server and mobile development kit.
    3. how to synchronize the 9i lite database with my 8i database.
    My scenario is i need to create a standalone mobile server environment.
    help me.

    Your environment is older versions than we use, but the basic process for creating oracle lite client databases synchronised with the main server database is as follows
    1) install the mobile server following the installation guide.
    This will create the mobile server repository (schema MOBILEADMIN) and application on the app server or standalone. For production the repository data would normally be a seperate schema in the main database, and the mobile application running on one of the app servers
    2) next you need to create your 'application'.
    This consists of defining the tables or views from the main system you want to be able to synchronise with the offline clients. If you are just starting, the easiest way is to use the wtgpack wizard that comes as a part of the development kit. Start this up, create an application name, specify the client environment it will be going to (eg: WIN 32 or PPC2003) do the connection to the main server schema, select a table from the main system you want to synchronise, and take it through to publish
    For the first go to see it working i would advise keeping it simple and just picking a small table, and set the refresh option to complete, with server wins in the conflict resolution. Once you have got things working, you can then go back and add other tables and start to look at using thre data subsetting to select only data relevant to a particular client, fast refresh options, and using views from the main system as the basis for the snapshots (in 5.0.2 i would avoid sequences)
    3) when the application is published, start up the mobile manager tool
    you should now be able to see the application you created, and the publication items (the tables that will be synchrionised). You now need to go to users and create a user and associate them with the application
    4) set up client device
    on a device of the type you want to synchrionse with (we use PDAs), go into IE, and enter the mobile server URL/webtogo/setup. This will give a list of the downloadable clients. Pick the appropriate one and follow the install instructions, using the user/password set up above
    5) synchronise
    on the client device run the msync utility. This will ask you for the user name/password and the server url, enter these and press the sync button and two datyabase files (.odb) should be created on the client - a control one concli, and one with the same name as your application. The client set up should have also installed a utility msql that you can use to look at the new local database

  • User and Group information not updated in Sharepoint 2010

    Hi,
    Recently, our orgnisation has maked update of user and group in the Active Diractory. The information was not update in the site collection. I was try to :
    -recreate and synchronize a new service application ( no effect)
    - Delete old database synchronisation( stsadm -o sync -deleteolddatabases 5)
    - stsadm -o sync -synctiming m:5 and stsadm -o sync -sweeptiming m:5 (No effect)
    -I have no error or warning whn i make the synchronisation, all data bases is started.
    Anyone can help me please??
    Thks

    Is User Profile to SharePoint Full Synchronization job up and running? Do you see any errors when this job runs? Turn on verbose logging to see details when this job runs.
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • CSS state sync questions

    I learned from cisco doc that the CSS stat are exchanged in real time.
    " For new flows, CSSs exchange flow states in real time over the ISC links. For existing flows, CSSs exchange flow states at boot-up time and at VIP redundancy failover.
    I"
    http://www.cisco.com/en/US/partner/products/hw/contnetw/ps792/products_configuration_guide_chapter09186a00801ef2a1.html
    Does this mean that once a "flow" is created in a primary box, the state information will be replicated to the backup one? Are there any delay in the state replication? Is there any routine state database sync in addition to the real time replication?

    as mentioned in the doc, when the flow is created on the active box, the flow info is immediately forwarded to the standby device.
    Full database synchronisation will only occurs after failover of one of the two devices.
    Regards,
    Gilles.

  • Synchronisation between two databases tables

    Hello,
    In my case DATABASE A is always updating table TABLE XYZ of DATABASE B through MQ Series using online messages. Due to some reasons that link is down, could any one suggest how we keep continue synchronisation of these two databases, we can not modify any thing on DATABASE A we can only read it as it is master database while DATABSE B is updated by A.
    Table of DATABASE A is containing 2 Million records same with B. Can any one let me know how to compare the rows of the tables of each database and if some rows are missing in DATABASE B it should be updated by DATABASE A.
    Please suggest any solution so that both databases should be kepy synchroinised at table rows level.
    Thanks

    Read my suggestion in your other thread : Re: Two Different Databases Tables Synchronisation
    Nicolas.

  • My Outlook 2011 is synchronising and deleting old emails not on my ISP's database. How to I stop synchronisation, and only download new emails?

    My Outlook 2011 is synchronising with an IMAP account and deleting old emails not on my ISP's database. How to I stop synchronisation, and only download new emails?

    The "LocalAccount" is "On My Mac" and doesn't correspond to an account on a mail server. That all I can tell you from the information provided.

  • Two Different Databases Tables Synchronisation

    Hello,
    In my case DATABASE A is always updating table TABLE XYZ of DATABASE B through MQ Series using online messages. Due to some reasons that link is down, could any one suggest how we keep continue synchronisation of these two databases, we can not modify any thing on DATABASE A we can only read it as it is master database while DATABSE B is updated by A.
    Table of DATABASE A is containing 2 Million records same with B. Can any one let me know how to compare the rows of the tables of each database and if some rows are missing in DATABASE B it should be updated by DATABASE A.
    Please suggest any solution so that both databases should be kepy synchroinised at table rows level.
    Thanks

    Hi,
    why post three times the same thread ?
    Synchronisation between two databases tables
    Synchronisation between two databases tables
    updating table TABLE XYZ of DATABASE B through MQ SeriesAnyway, have you think about materialized view through dblink ? A matarialized view can be refresh on commit on master table or at point in time.
    To compare table try :
      1* create table tab4 (col1 date, col2 number)
    SQL> /
    Table created.
    SQL> ed
    Wrote file afiedt.buf
      1* insert into tab4 values (sysdate,1)
    SQL> /
    1 row created.
    SQL> ed
    Wrote file afiedt.buf
      1* insert into tab4 values (sysdate,2)
    SQL> /
    1 row created.
    SQL> ed
    Wrote file afiedt.buf
      1* insert into tab4 values (sysdate,3)
    SQL> /
    1 row created.
    SQL> create table tab5 as select * from tab4;
    Table created.
    SQL> update tab4 set col1 = sysdate where col2=1;
    1 row updated.
    SQL> select * from tab4
      2  minus
      3  select * from tab5;
    COL1            COL2
    12-APR-06          1
    SQL> So try :
    select * from tabA@databaseA
    minus
    select * from tabB;Nicolas.

  • Synchronisation of data between two databases

    i have two databases having tables with same fields and i would like to transfer the data from one database to the other , how do i do that? is there any link which talks about synchronisation of data between two databases?

    Make the database name same in both databases and use Veritas tools for data copy.

  • Synchronisation of Data Between 4 Database.

    We are using a Customised ERP based on Oracle 8i And Developer 5i.We have Four Servers Lying to four Different Locations.For Synchronisation to Primary server.We used to export data from all locations and import it over here.Its a very Hectic Job , takes more than 2-3 Hours.Now as we want to have Consolidated Sales on Daily Basis.So is there any other means to synchronise all servers with our Primary Server.I have used the concept of materialised view too But for So much table Replication takes a long Time.
    Thanks In Advance For any Reply
    Ajay Sharma

    Make the database name same in both databases and use Veritas tools for data copy.

  • Synchronising 2 Palm devices with 2 different Outlook database on the same PC

    Hi,
    My wife and I are both equiped with Palms (T5 and T3).
    On the familly PC (W7 64 bits) we would like to sync each Palm on a different Outlook (2003) datafile already existing. There only one Outlook profile existing but depending on the email accounts, emails are directed to one database or the otherone.
    Once installed the aceeca usb driver (64b..), there was no pb to sync with Palm Desktop.
    But I wanted to switch to sync with Outlook, beginning by calendars, there only one calendar available.
    As I dont want to mess up the 2 calendard I cancelled the sync.
    What is the trick to have separated syncs with the existing 2 different Outlool database files?
    Many thanks
    Post relates to: Tungsten T5

    Your contacts are not part of your iTunes library.  iTunes only syncs contacts with your phone from a supported program such as Outlook or mac Address Book.  If you are trying to sync you contacts to the same program they will be merged.  You could, however, set up two contact groups within Outlook, one for your contacts and one for his.  Both groups would still besynced to both devices but you wouldn't have to look at the contact group you weren't interested in.  Another option would be for one of you to continue to sync with iTunes with, for example, Outlook and the other sync contacts with another service such as Google or iCloud (be sure to uncheck Sync Contacts on the Info tab of the the iTunes sync settings for this phone).

  • How do i Sync the outlines with other databases

    Hi,
    I have got two databases and there is a transparent partition between both these databases with MYACT being the source database and MY06W being the target databse. whenever there is any addition of members to my source database how do i sync my target database using maxl script. Can anyone of you help me out in this regard....
    Regards,
    Krishna

    You could also look into the partitioning synchronisation seeing as you have already developed the partitions.
    You can set outline changes to pass the same way as the data or vice versa and it keeps track of changes in .chg files.
    Have a review of this functionality, it may be the simpler way to complete.
    Hope this helps
    Andy King
    http://www.analitica.co.uk

  • How to connect one database in two threads?

    Dear All,
    If anyone can tell me how to connect one database concurrently?
    I tried the following idea:
    1.create a Hashtable to keep database objects(those databases have been opened)
    2.Before openning(connecting) a database:first step is to check the hashtable.
    If the the database object is in the hashtable, this object will be returned.
    If the datatbase object is not in the hastable, open the database and store this opened database object into the hashtable.
    I failed the test of this implementation. My test is:Create two threads (extend java Thread class).In each of these two threads, try to open the same database.Just like the following:
    MyThread thread1 = new MyThread();
    MyThread thread2 = new MyThread();
    thread1.start();
    thread2.start();
    I guessed the database object in the hashtable would be returned in the second thread.Unfortunatly, I only got an exception which meant the database couldn't be opened twice.It looks like the second thread happened before the opened database object stored into the hashtable.
    I cannot figure out if my design is wrong or my test application is wrong.
    I really appriatiate your attentions!!!
    Lu

    um not sure i follow exactly but in your code add the word synchronise to it and this means only 1 tread can access it at any 1 time.
    So your could have a class which is a singleton so it only opens the dbase once and then all other access share your connection.
    so
    public class foo{
    foo INSTANCE = new foo();
    private foo(){} //private constructor
    then all your methods use foo's internal dbase connection. Am i making sense

  • ITunes & iPod song synchronisation problem.

    Dear Experts,
    I want iTunes to scan through it's song database and remove from its Library the songs that no longer exist on my iPod.
    The reason for this is that once I've copied tracks to the iPod, I delete them from the Mac's hard disk. So now, my iTunes library has lots of tracks listed which are NOT present on the iPod.
    i.e. is there a script which can synchronise the contents of playlists (which contain tracks on my iPod) with the main iTunes library,so that the Library lists ONLY the songs present on the iPod and playlists?
    Any idea on how to do this? Suggestions gratefully received. (I have searched the forum without any succcess and I've checked the iTunes script site.)
    Thanks.
    G4 DA, G3 B/W & iBook 800 MHz   Mac OS X (10.3.9)  

    Why assume that Podcasts are not music? Or that files in a user's Library are music? I subscribe to music podcasts and my Library has many audio books and spoken word recordings. Shouldn't my iPod let me arrange these tracks in the order of my choice, rather than assuming (incorrectly most of the time) that I would want the podcasts on top? I don't think I would have any difficult finding and playing podcasts if Apple left my song order untouched. (Needless to say, like the originator of this thread, I am not using it in "shuffle" mode.)
    Okay, as long as you define 'bad' as 'not the way I
    want it to be'. You might want to consider how, given
    the design of the Shuffle, you'd ever be able to find
    and listen to just Podcasts (and not music) if they
    were NOT placed at the top of the list in that play
    mode.
    If you want your iPS to treat your podcasts just like
    any other garden-variety music track then you'll
    probably have to jump through some or all of the
    miscellaneous hoops that people have discovered and
    discussed in these and other forums. The subject has
    been covered ad nauseum; you'll have a lot to choose
    from.
    Or, you can simply get some other MP3 player which
    will do what you want. I'm not claiming that there is
    one, but there certainly could be.
    In the meantime, it is what it is

  • How to get "Synchronize with database" to compare/generate changes for database 'contexts'?

    Hi
    Using SDDM 3.3.
    How does one get to synchronise changes/differences in 'contexts' (defined in physical model - Oracle DB)?
    I have tried to synchronize both ways, i.e. model to db and db to model, but never does it show the DDL necessary to create the missing context.
    Yes, Context is selected/ticked under preferences for Oracle DB synchronization preferences.
    Thank you & Regards

    Hi Philip
    If I use the "generate DDL" option from the toolbar, it does generate DDL for the context I have in the physical model.  I can select/deselect them in the DDL Generation Options window.
    Why then would it not generate DDL when comparing the model with the database, i.e. using the "synchronise data dictionary to model" option?  It successfully generates a 'patch'/change script for tables, views, packages, etc.?
    Thank you & Regards
    PS.  I am asking for a way to get it to generate me a complete 'patch'/change script.

Maybe you are looking for

  • ICal appears to work in Safari, but not in iCal

    I'm running iCal server on 10.5.2 server. If I load up an iCal URL of the form: http://ical.example.com:8008/calendars/users/myname/calendar/ in Safari, it asks me for my id and password for the '/Search' realm, and then I get a nicely presented bunc

  • Command: Link to KM folder - does it exsist/workaround

    Hi, We have a KM folder where we store articles based on xml forms.  One iView displays the last 3 articles from this folder. Is there a command that can be used in the collection renderer for creating a link to this KM folder and display the content

  • Jinitiator 1.3.1.9

    I'm having a problem with JInititor 1.3.1.9 with formserver6i patchset 11... I've resigned f60all_jinit with my own identity...When accesing a webform,the classes downloads ok,and start without asking me if I want to allow the program signed by.... I

  • No pre order or reserve question

    Ok sorry if this has been answered, but i did not pre order or reserve an iphone because it stated on apple.com that i have to put money down to start a line with AT&T. will i be able to go to AT&T on the 24th and start the process? or is the 24th on

  • Cannot send or receive mail after installing iOS6 on iPhone4

    Cannot send or receive mail after installing iOS6 on iPhone4. All email accounts are still fine and not lost but ever since I installed iOS6 I cannot send any new email and I am not receiving either. That includes my Exchange, Yahoo  and Hotmail. I d