Partitioning an existing table

Поиск
Список
Период
Сортировка
От Phoenix Kiula
Тема Partitioning an existing table
Дата
Msg-id BANLkTi=_aeBhkmxLBfRf9y-S-mVdeUSDKA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Partitioning an existing table  (Cédric Villemain <cedric.villemain.debian@gmail.com>)
Re: Partitioning an existing table  (Vick Khera <vivek@khera.org>)
Re: Partitioning an existing table  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Список pgsql-general
Hi.

The partitioning documentation in PG is very clear on how to partition
a new table. Create child tables, and have triggers that manage
INSERT, UPDATE and DELETE commands.

How about doing this with existing massive tables? (Over 120 million rows)

I could create a new parent table with child tables, and then INSERT
all these millions of rows to put them into the right partition. But
is that recommended?

Thanks

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

Предыдущее
От: Linos
Дата:
Сообщение: 10 missing features
Следующее
От: Cédric Villemain
Дата:
Сообщение: Re: Partitioning an existing table