Re: Migration study, step 1: bulk write performance optimization - Mailing list pgsql-performance

From Tom Lane
Subject Re: Migration study, step 1: bulk write performance optimization
Date
Msg-id 9396.1142900837@sss.pgh.pa.us
Whole thread Raw
In response to Re: Migration study, step 1: bulk write performance optimization  ("Craig A. James" <cjames@modgraph-usa.com>)
List pgsql-performance
"Craig A. James" <cjames@modgraph-usa.com> writes:
> If you haven't explored the COPY command yet, check it out.  It is stunningly fast compared to normal INSERT
commands.

Note also that his "benchmark" is testing multiple INSERTs issued within
a loop in a plpgsql function, which has got nearly nothing to do with
the performance that will be obtained from INSERTs issued by a client
(especially if said INSERTs aren't prepared and/or aren't batched into
transactions).

            regards, tom lane

pgsql-performance by date:

Previous
From: PFC
Date:
Subject: Re: Best OS & Configuration for Dual Xeon w/4GB & Adaptec
Next
From: "Jaime Casanova"
Date:
Subject: Re: update == delete + insert?