Memory usage of COPY command

Поиск
Список
Период
Сортировка
От Keaton Adams
Тема Memory usage of COPY command
Дата
Msg-id 0B34A6972BF39E4CB465A64DBBAD2BB902570D3A@mxlhq-exch01.corp.mxlogic.com
обсуждение исходный текст
Список pgsql-general

When loading (inserting) data into a table with COPY I have read in the documentation that rows are appended to the end of the table instead of being added to existing table pages, so I’m wondering about memory utilization.  Our application uses a number of COPY statements in parallel, so COPY performance is key.  Does COPY use the shared buffer pool, or does it allocate its own block of memory to bulk-load the data into?

 

Would tuning shared_buffers in postgresql.conf have an effect on COPY performance, or is the buffer-pool bypassed altogether on a load?

 

Thanks,

 

Keaton

 

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Autostart PostgreSQL in Ubuntu
Следующее
От: Diego Gil
Дата:
Сообщение: datestyle question