Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id F00CB2E3ECC for ; Wed, 6 Feb 2008 13:37:49 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 25657-03 for ; Wed, 6 Feb 2008 13:37:44 -0400 (AST) Received: from hi-media.com (9.140-14-84.ripe.coltfrance.com [84.14.140.9]) by postgresql.org (Postfix) with ESMTP id 035F32E3C9A for ; Wed, 6 Feb 2008 13:37:44 -0400 (AST) Received: from dim (LAubervilliers-151-11-28-79.w193-251.abo.wanadoo.fr [193.251.57.79]) by hi-media.com (Postfix) with ESMTP id 4B92C1D015D; Wed, 6 Feb 2008 18:35:16 +0100 (CET) From: Dimitri Fontaine Organization: Hi-Media To: pgsql-performance@postgresql.org Subject: Re: Benchmark Data requested --- pgloader CE design ideas Date: Wed, 6 Feb 2008 18:37:41 +0100 User-Agent: KMail/1.9.7 Cc: Greg Smith References: <1202150236.4252.521.camel@ebony.site> <1202298324.4252.965.camel@ebony.site> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4725038.jpM4OxmgYm"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200802061837.41911.dfontaine@hi-media.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/77 X-Sequence-Number: 28619 --nextPart4725038.jpM4OxmgYm Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Le mercredi 06 f=E9vrier 2008, Greg Smith a =E9crit=A0: > 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= =20 itself to any number of reads: -C COUNT, --count=3DCOUNT number of input lines to process -F FROMCOUNT, --from=3DFROMCOUNT number of input lines to skip So you could already launch 4 pgloader processes with the same configuratio= n=20 fine but different command lines arguments. It there's interest/demand, it'= s=20 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=20 backend read the file locally, but now maybe we begin to compete? Regards, =2D-=20 dim --nextPart4725038.jpM4OxmgYm Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD4DBQBHqfBllBXRlnbh1bkRAuvfAJ4wSB16NhW0mB4Hm1etieGJ03swMwCTB4FY OWa3tqSdcczO1Kk+UOdKfQ== =oDNo -----END PGP SIGNATURE----- --nextPart4725038.jpM4OxmgYm--