Re: Technical guidance for a large partition table

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Technical guidance for a large partition table
Дата
Msg-id dc39fd4d13f80336f9080bf290f4ca7c90c33982.camel@cybertec.at
обсуждение исходный текст
Ответ на Technical guidance for a large partition table  (John Scalia <jayknowsunix@gmail.com>)
Список pgsql-admin
On Sun, 2021-05-09 at 19:18 -0400, John Scalia wrote:
> I have a dev team requesting that I partition 3 very large tables with more 2 billion rows each.
>  I’ve already got the partition key decided for each with a script which will create a copy of
>  original with the partition declaration, along with the partition child tables.
> [...]
> FYI, this is production instance that is regularly updated by field technicians.
>  Quite literally, I cannot perform two sequential select count(*) from any of these tables
>  which will return the same row counts.

From v13 on, you should be able to use logical replication to partition a table with
little downtime.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




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

Предыдущее
От: Keith
Дата:
Сообщение: Re: Technical guidance for a large partition table
Следующее
От: rammohan ganapavarapu
Дата:
Сообщение: Changing wal_level