Обсуждение: open-source equivalent of golden-gate

Поиск
Список
Период
Сортировка

open-source equivalent of golden-gate

От
ROS Didier
Дата:

Hi

In the Oracle world we use the product "golden gate" to execute transactions from a source database (Oracle, Mysql) to a PostgreSQL instance.

This allows 2 Oracle and PostgreSQL databases to be updated at the same time in real time.

I would like to know if there is an equivalent open-source product.

 

Thanks in advance

 

Best Regards

Didier ROS

EDF

             


Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.

Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions également d'en avertir immédiatement l'expéditeur par retour du message.

Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, sont sécurisées ou dénuées de toute erreur ou virus.
____________________________________________________

This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.

If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.

E-mail communication cannot be guaranteed to be timely secure, error or virus-free.

Re: open-source equivalent of golden-gate

От
Victor Yegorov
Дата:
вт, 11 февр. 2020 г. в 12:23, ROS Didier <didier.ros@edf.fr>:

In the Oracle world we use the product "golden gate" to execute transactions from a source database (Oracle, Mysql) to a PostgreSQL instance.

This allows 2 Oracle and PostgreSQL databases to be updated at the same time in real time.

I would like to know if there is an equivalent open-source product.


There is a SQL/MED standard exactly for this: https://wiki.postgresql.org/wiki/SQL/MED

Implemented in PostgreSQL as Foreign Data Wrappers: https://wiki.postgresql.org/wiki/Fdw
You need to do the following:
1. Add wrapper via https://www.postgresql.org/docs/current/sql-createextension.html
2. Create remote source via https://www.postgresql.org/docs/current/sql-createserver.html
3. Create foreign table via https://www.postgresql.org/docs/current/sql-createforeigntable.html

Note, that PostgreSQL provides only infrastructure, wrappers for different remote systems are not supported by the PostgreSQL community,
except for postgres_fdw and csv_fdw provided by the project.


--
Victor Yegorov

Re: open-source equivalent of golden-gate

От
Chapman Flack
Дата:
On 02/11/20 07:51, Victor Yegorov wrote:
> вт, 11 февр. 2020 г. в 12:23, ROS Didier <didier.ros@edf.fr>:
> 
>> In the Oracle world we use the product "golden gate" to execute
>> transactions from a source database (Oracle, Mysql) to a PostgreSQL
>> instance.
> 
> Note, that PostgreSQL provides only infrastructure, wrappers for different
> remote systems are not supported by the PostgreSQL community,
> except for postgres_fdw and csv_fdw provided by the project.

I read the question as perhaps concerning the other direction, whether
there might be an open source foreign data wrapper installable in Oracle
for talking to PostgreSQL (which might, I suppose, also have a name like
"postgres_fdw", which helps explain the number of times I've rewritten
this sentence trying to make it unambiguous).

Regards,
-Chap



Re: open-source equivalent of golden-gate

От
Thomas Kellerer
Дата:
ROS Didier schrieb am 11.02.2020 um 11:23:
> In the Oracle world we use the product "golden gate" to execute
> transactions from a source database (Oracle, Mysql) to a PostgreSQL
> instance.
>
> This allows 2 Oracle and PostgreSQL databases to be updated at the
> same time in real time.
>
> I would like to know if there is an equivalent open-source product.
>
> Thanks in advance
>
> Best Regards
> Didier ROS

The closest solutions to golden gate are probably

* https://debezium.io/
* https://www.symmetricds.org/

Thomas



RE: open-source equivalent of golden-gate

От
"tsunakawa.takay@fujitsu.com"
Дата:
From: Chapman Flack <chap@anastigmatix.net>
> I read the question as perhaps concerning the other direction, whether
> there might be an open source foreign data wrapper installable in Oracle
> for talking to PostgreSQL (which might, I suppose, also have a name like
> "postgres_fdw", which helps explain the number of times I've rewritten
> this sentence trying to make it unambiguous).

Oracle Database Gateway for ODBC can be used:


Oracle Database Gateway for PostgreSQL - ORACLE-HELP
http://oracle-help.com/oracle-database/oracle-database-gateway-postgresql/


Regards
Takayuki Tsunakawa