Re: BufferAccessStrategy for bulk insert

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: BufferAccessStrategy for bulk insert
Дата
Msg-id 1225434782.3971.482.camel@ebony.2ndQuadrant
обсуждение исходный текст
Ответ на Re: BufferAccessStrategy for bulk insert  ("Robert Haas" <robertmhaas@gmail.com>)
Ответы Re: BufferAccessStrategy for bulk insert  ("Robert Haas" <robertmhaas@gmail.com>)
Список pgsql-hackers
On Thu, 2008-10-30 at 23:05 -0400, Robert Haas wrote:
> > Whatever timings you have are worth publishing.
> 
> Here are the timings for copying the first ten million integers into a
> one-column table created in the same transaction, with and without the
> patch.  As you can see, now that I've corrected my previous error of
> not putting CREATE TABLE and COPY in the same transaction, the savings
> are quite substantial, about 15%.  Nice!

I had faith. ;-)

Can you test whether using the buffer access strategy is a win or a
loss? Most of that gain is probably coming from the reduction in
pinning.

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: array_agg and array_accum (patch)
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: PG_PAGE_LAYOUT_VERSION 5 - time for change