Re: open-source equivalent of golden-gate

Поиск
Список
Период
Сортировка
От Victor Yegorov
Тема Re: open-source equivalent of golden-gate
Дата
Msg-id CAGnEboiqi3iNvjrf+CFbSU1O7kK7pTQ6kpQG7aAbAbRbsk2UBA@mail.gmail.com
обсуждение исходный текст
Ответ на open-source equivalent of golden-gate  (ROS Didier <didier.ros@edf.fr>)
Ответы Re: open-source equivalent of golden-gate  (Chapman Flack <chap@anastigmatix.net>)
Список pgsql-hackers
вт, 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

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Julien Rouhaud
Дата:
Сообщение: Re: [PATCH] Erase the distinctClause if the result is unique bydefinition
Следующее
От: Chapman Flack
Дата:
Сообщение: Re: open-source equivalent of golden-gate