iterate over partitions

Поиск
Список
Период
Сортировка
От Glenn Schultz
Тема iterate over partitions
Дата
Msg-id CAE-4=KHcn8cL+o7HVzF2pYiamynodQPB=OG2LGnt7JUqVgzXFQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: iterate over partitions  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
Список pgsql-general
Hi All,

I have a large table partioned by month.  I would like to run a query - which adds derived data to the current data and inserts the data into a new table.  The new table is the target for users.

How can I iterate over the partition tables to insert data and build the new table?
This is done monthly, am I better off creating a materalized view each month? 

Best,
Glenn

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

Предыдущее
От: Devendra Y
Дата:
Сообщение: Automatic Failover in PostgreSQL using PAF/repmgr
Следующее
От: Michael Lewis
Дата:
Сообщение: Re: PostgreSQL 11 Auto vacuum