Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

Can I ask for some independent performance results please?

  Simon Riggs

Attachment: fast_copy.v3.patch
Description: text/x-patch (15.7 KB)


pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group