Re: Partitioning an existing table - pg10.6

Поиск
Список
Период
Сортировка
От legrand legrand
Тема Re: Partitioning an existing table - pg10.6
Дата
Msg-id 1562143051610-0.post@n3.nabble.com
обсуждение исходный текст
Ответ на Partitioning an existing table - pg10.6  (Ayub M <hiayub@gmail.com>)
Ответы Re: Partitioning an existing table - pg10.6  (legrand legrand <legrand_legrand@hotmail.com>)
Список pgsql-general
Hello,

I didn’t test it myself but maybe using  logical réplication could help ...
See https://www.postgresql.org/docs/10/logical-replication.html

Operations
- create parttable
- Feed it using réplication
- when sync : stop app, stop réplication, rename tables
- maybe you can réplicate from parttable to nonpart as a rollback plan
- ...

To be tested carrefully
Regards
PAscal




--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html



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

Предыдущее
От: Achilleas Mantzios
Дата:
Сообщение: Re: Partitioning an existing table - pg10.6
Следующее
От: Karl Martin Skoldebrand
Дата:
Сообщение: Too short field