× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Why not have the web site query your DB2 for i database directly? Use a firewall to ensure that your i's database is only accessed from the web server.

This would be a lot simpler than trying to replicate the data from one database to another.

Scott Johnson wrote:
We are in the process of deciding how to keep a MS SQL Server database used by our website more up to date. Right now all processing and data entry happens on the i5. Then nightly there are jobs on the MS SQL Server that pulls data over in mass. They basically wipe the tables on there side and reload them. We are looking to do away with this process and do something more 'real-time'. This will apply to about 20 tables.

Two suggestions currently on the table are Triggers and Journals. We already have triggering happening on 3 of the tables that is used for a different process. There are currently no tables that are journaled. We are also concerned with which one will have a bigger impact on system performance.

Triggers: I was thinking that I could write the trigger programs to write entries to data queue(s). These dtaqs are watched by 'maintenance' programs that would update the MS SQL Tables 'directly' using JDBC. We already have separate RPGIV programs doing this type of thing to MySql. So we have expertise in house to handle this coding. And we can add any needed business rules into these RPGIV programs.

Journaling: We would have to add journaling to the needed tables. We are thinking and have in mind a 3rd party tool that would 'watch' these journals and apply any needed changes to the MS SQL server side. There is no in-house journaling experience. And we are constrained by what the tool can and cannot do.


Thoughts?

Thanks,
Scott J.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.