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