Bulk Insert tuning

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: Bulk Insert tuning
Date: 2008-02-26 14:43:51
Message-ID: 1204037031.4252.301.camel@ebony.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Following patch implements a simple mechanism to keep a buffer pinned
while we are bulk loading.

Performance gains measured as +20% gain for CREATE TABLE as SELECT, and
15-17% for COPY on very short rows. Measurable difference drops away and
is not measurable at all at 1000/bytes per row.

As a result, patch doesn't bother to implement buffer pinning for TOAST
operations.

Can I ask for some independent performance results please?

--
Simon Riggs
2ndQuadrant http://www.2ndQuadrant.com

Attachment Content-Type Size
fast_copy.v3.patch text/x-patch 15.7 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message manolo.espa 2008-02-26 15:10:38 Re: [HACKERS] 2WRS [WIP]
Previous Message Peter Eisentraut 2008-02-26 14:43:09 Re: DTrace not working after SUBSYS.o reorg