Re: Moving large table between servers: logical replication orpostgres_fdw

Поиск
Список
Период
Сортировка
От Ron
Тема Re: Moving large table between servers: logical replication orpostgres_fdw
Дата
Msg-id 15379d46-03ed-39b5-8060-6a8f88348680@gmail.com
обсуждение исходный текст
Ответ на Moving large table between servers: logical replication or postgres_fdw  ("Rhys A.D. Stewart" <rhys.stewart@gmail.com>)
Список pgsql-general
On 12/04/2018 09:14 PM, Rhys A.D. Stewart wrote:
> Greetings Folks,
>
> I have a relatively large table (100m rows) that I want to move to a
> new box with more resources. The table isn't doing anything...i.e its
> not being updated or read from. Which approach would be faster to move
> the data over:
>
>    a). Use pg_fdw and do "create local_table as select * from foreign_table".
>    b). setup logical replication between the two servers.

Or KISS and COPY WITH FORMAT BINARY.

-- 
Angular momentum makes the world go 'round.


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

Предыдущее
От: Rene Romero Benavides
Дата:
Сообщение: Re: Moving large table between servers: logical replication or postgres_fdw
Следующее
От: Ron
Дата:
Сообщение: Re: Moving large table between servers: logical replication orpostgres_fdw