Re: BufferAccessStrategy for bulk insert - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: BufferAccessStrategy for bulk insert
Date
Msg-id 1225434782.3971.482.camel@ebony.2ndQuadrant
Whole thread Raw
In response to Re: BufferAccessStrategy for bulk insert  ("Robert Haas" <robertmhaas@gmail.com>)
Responses Re: BufferAccessStrategy for bulk insert
List 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 by date:

Previous
From: Jeff Davis
Date:
Subject: Re: array_agg and array_accum (patch)
Next
From: Heikki Linnakangas
Date:
Subject: Re: PG_PAGE_LAYOUT_VERSION 5 - time for change