Bulk load straight into partitioned table?

Поиск
Список
Период
Сортировка
От Danny Lo
Тема Bulk load straight into partitioned table?
Дата
Msg-id AANLkTikidmul710MpXL2jJH1Smq9yZBdMDzX2crGwcmv@mail.gmail.com
обсуждение исходный текст
Ответы Re: Bulk load straight into partitioned table?  (Joshua Tolley <eggyknap@gmail.com>)
Список pgsql-novice
Hi,

I have about 150gb data that I'd like to bulk load into a table partitioned by month. I'm wondering if I could use the COPY command with a trigger on table to copy this in directly?
At the moment, I'm doing:

copy command into table_x

then sql command:

insert into master_table_a
select * from table_x

thanks,
Danny

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

Предыдущее
От: Jasen Betts
Дата:
Сообщение: Re: Copy function - how to move text types across
Следующее
От: Joshua Tolley
Дата:
Сообщение: Re: Bulk load straight into partitioned table?