Re: native solutions for copying data between PG servers?

Поиск
Список
Период
Сортировка
От Keith
Тема Re: native solutions for copying data between PG servers?
Дата
Msg-id CAHw75vs182oBMHC56FWV+ZuRT5RMf7bodzHpdcEHfZgtYBpJZA@mail.gmail.com
обсуждение исходный текст
Ответ на native solutions for copying data between PG servers?  (Wells Oliver <wells.oliver@gmail.com>)
Ответы Re: native solutions for copying data between PG servers?  (Wells Oliver <wells.oliver@gmail.com>)
Список pgsql-admin

On Fri, Jul 10, 2020 at 2:56 PM Wells Oliver <wells.oliver@gmail.com> wrote:
Hi all: what are some native solutions (if any?) for copying data between PG servers? v12.3 if it matters.

I have some python scripts that select from views on A and dump into tables on B and it works well enough but I'd like to see if other solutions might work... a little faster.

Thanks.

--


Take a look at the postgres_fdw. Basically makes the remote table(s) look like local tables. That's probably the easiest solution.


There's also logical replication, but that can be trickier to set up

 

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

Предыдущее
От: Wells Oliver
Дата:
Сообщение: native solutions for copying data between PG servers?
Следующее
От: Wells Oliver
Дата:
Сообщение: Re: native solutions for copying data between PG servers?