Ingres Community Forums Login Register Ingres.com  

Ingres Community Forum


Go Back   Ingres Community Forums > Ingres Forums > DBA Forum
 

Reply
 
LinkBack (4) Thread Tools Display Modes
Old 2007-10-12   4 links from elsewhere to this Post. Click to view. #1 (permalink)
Junior Member
 
Join Date: Mar 2007
Posts: 3
Default Data synchronization between Ingres 2006 and postgresql

Hello,

I don't know if it's possible but here is what I need to do: I've got ingres on one machine and postgres on another. When any record in particular table in ingres database is added/deleted/updated I'd like to transfer all this data to postgres.

In postgres i can do such thing using "create function xxx language 'c'...." statement and compiling some code in C to manipulate date.

IS there any chance to do "synchronizaton procedure" in ingres? Perhaps callproc - I'm not very familiar with ingres and its documentation is quite huge. If anyone could send me some hints how to start it... I would be really greatful.

Regards,
Marcin
giedz is offline   Reply With Quote
Old 2007-10-15   #2 (permalink)
Ingres Community
 
daryl.monge@ingres.com's Avatar
 
Join Date: Mar 2007
Posts: 68
Default

One technique:

create a rule (trigger) that will raise a database event. Your "language C'' function will be an stand alone executable that listens for the event and processes the data. You would typically want the primary key of the record passed as the event description. The nice additional feature is the process is asynchronous; your transaction in the main database will not be stalled while the data is transmitted to Postgres. The bad part is that is asynchronous...... You will not know in the Ingres transaction if the transfer was successful. It would have to be managed as a separate function.
daryl.monge@ingres.com is offline   Reply With Quote
Old 2007-10-17   #3 (permalink)
Junior Member
 
Join Date: Mar 2007
Posts: 13
Default

You should take a look on Hight Volume Replicator(http://hvr.biz) tool but I`m not sure if they have support for postgresql.
bartez is offline   Reply With Quote

Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://community.ingres.com/forum/dba-forum/1528-data-synchronization-between-ingres-2006-postgresql.html
Posted By For Type Date
Open Source | Archive for November, 2008 | ZDNet.com This thread Refback 2009-03-22 08:00 AM
Can database lock-in be broken | Open Source | ZDNet.com This thread Refback 2008-12-05 05:03 PM
FOSSPlanet This thread Refback 2008-11-19 12:02 PM
Can database lock-in be broken | Open Source | ZDNet.com This thread Refback 2008-11-19 09:34 AM

© 2009 Ingres Corporation. All Rights Reserved