Is a PS - MSSQL Logical Replication Possible??

Поиск
Список
Период
Сортировка
От Wetmore, Matthew (CTR)
Тема Is a PS - MSSQL Logical Replication Possible??
Дата
Msg-id d5ea09e054ef41359113f81d33d72cf4@express-scripts.com
обсуждение исходный текст
Ответ на Re: Is a PS - MSSQL Logical Replication Possible??  (Scott Ribe <scott_ribe@elevated-dev.com>)
Ответы Re: Is a PS - MSSQL Logical Replication Possible??  (Erik Serrano <eserranos@gmail.com>)
Список pgsql-admin
Correct, and with dblink on logical slots.  The gotcha is making the logical slots persistent in your network config.

I have done db link from one table to another on my primary and then use that table as the source for processing data
orwhatever. 

But you will have to do custom work.

The most annoying part of this is the MSSQL ::Postgres inconsistencies such as date, numeric and float , bit::bool
types.

-----Original Message-----
From: Scott Ribe <scott_ribe@elevated-dev.com>
Sent: Tuesday, July 25, 2023 10:42 AM
To: Erik Serrano <eserranos@gmail.com>
Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: [EXTERNAL] Re: Is a PS - MSSQL Logical Replication Possible??

> On Jul 25, 2023, at 11:29 AM, Erik Serrano <eserranos@gmail.com> wrote:
>
> What you indicate is interesting, I am going to find out about the debezium and attunity programs.
> Thank you very much for answering

I don't know how those two are implemented--but for background on what is possible, you might want to read up on
PostgreSQLlogical replication slots. Essentially, one can write a plug-in which has access to a serialized stream of
allupdates being applied. There are examples which exist. So one could write such a thing that pushes to MSSQL, or one
coulduse such a thing which publishes change stream as JSON, and develop something to push this to MSSQL. Not
suggestingthat *you* have to this--just that it's likely tools are based on this, and it would be good for your
understanding.




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

Предыдущее
От: Erik Serrano
Дата:
Сообщение: Re: postgis Error during upgrade
Следующее
От: Roland Che
Дата:
Сообщение: Re: postgis Error during upgrade