Re: Benchmark Data requested --- pgloader CE design ideas

From: "Luke Lonergan" <LLonergan(at)greenplum(dot)com>
To: "Dimitri Fontaine" <dfontaine(at)hi-media(dot)com>, <pgsql-performance(at)postgresql(dot)org>
Cc: "Greg Smith" <gsmith(at)gregsmith(dot)com>
Subject: Re: Benchmark Data requested --- pgloader CE design ideas
Date: 2008-02-06 17:49:56
Message-ID: 014F2941B0A1EA47BD61D21526B806E986CE6E@MI8NYCMAIL08.Mi8.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Improvements are welcome, but to compete in the industry, loading will need to speed up by a factor of 100.

Note that Bizgres loader already does many of these ideas and it sounds like pgloader does too.

- Luke

Msg is shrt cuz m on ma treo

-----Original Message-----
From: Dimitri Fontaine [mailto:dfontaine(at)hi-media(dot)com]
Sent: Wednesday, February 06, 2008 12:41 PM Eastern Standard Time
To: pgsql-performance(at)postgresql(dot)org
Cc: Greg Smith
Subject: Re: [PERFORM] Benchmark Data requested --- pgloader CE design ideas

Le mercredi 06 février 2008, Greg Smith a écrit :
> If I'm loading a TB file, odds are good I can split that into 4 or more
> vertical pieces (say rows 1-25%, 25-50%, 50-75%, 75-100%), start 4 loaders
> at once, and get way more than 1 disk worth of throughput reading.

pgloader already supports starting at any input file line number, and limit
itself to any number of reads:

-C COUNT, --count=COUNT
number of input lines to process
-F FROMCOUNT, --from=FROMCOUNT
number of input lines to skip

So you could already launch 4 pgloader processes with the same configuration
fine but different command lines arguments. It there's interest/demand, it's
easy enough for me to add those parameters as file configuration knobs too.

Still you have to pay for client to server communication instead of having the
backend read the file locally, but now maybe we begin to compete?

Regards,
--
dim

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Dimitri Fontaine 2008-02-06 19:59:04 Re: Benchmark Data requested --- pgloader CE design ideas
Previous Message Dimitri Fontaine 2008-02-06 17:37:41 Re: Benchmark Data requested --- pgloader CE design ideas