Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id AFAD02E014F for ; Mon, 10 Mar 2008 14:14:12 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 58495-06 for ; Mon, 10 Mar 2008 14:14:04 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from outmail137090.authsmtp.net (outmail137090.authsmtp.net [62.13.137.90]) by postgresql.org (Postfix) with ESMTP id 136882E0149 for ; Mon, 10 Mar 2008 14:14:03 -0300 (ADT) Received: from outmail128176.authsmtp.co.uk (outmail128176.authsmtp.co.uk [62.13.128.176]) by punt4.authsmtp.com (8.14.1/8.14.1/Kp) with ESMTP id m2AHDFpi006885; Mon, 10 Mar 2008 17:13:15 GMT Received: from [192.168.0.3] (85-211-64-98.dyn.gotadsl.co.uk [85.211.64.98]) (authenticated bits=0) by mail.authsmtp.com (8.13.8/8.13.8/Kp) with ESMTP id m2AHDDkt092208; Mon, 10 Mar 2008 17:13:13 GMT Subject: Re: [PERFORM] multi-threaded pgloader makes it in version 2.3.0 From: Simon Riggs To: Dimitri Fontaine Cc: pgsql-general@postgresql.org In-Reply-To: <200803101718.16866.dfontaine@hi-media.com> References: <200802261308.53459.dfontaine@hi-media.com> <1204395453.8258.117.camel@ebony.site> <200803101718.16866.dfontaine@hi-media.com> Content-Type: text/plain; charset=utf-8 Date: Mon, 10 Mar 2008 17:14:23 +0000 Message-Id: <1205169263.4269.169.camel@ebony.site> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2 Content-Transfer-Encoding: 8bit X-Server-Quench: 4458c9b3-eec5-11dc-9670-001185d377ca X-AuthRoute: OCdxZQATClZOTQEd DAteCiNZVAwpPBRK HVkIKg5MJUcNSQVJ NksadBtFaQVbYFhD HGQLW1xEUVp7WGB/ agkfZQBDYEtPQQNu TkFBXVBXCwUmXB5w fmpqCV1yfgdEeHY+ Z0ZrVz5fWEFyJk8v QVMBQD4DeGZhPDMC WUZfdx5UcAJLdhoR aVd4ByJDAzANdhEA MjUdGAoUCH1aNSBJ Q0QRLUgfSEoGEnYk SBQFFDkiBwUATiY+ NFQnNhYdGg4PP18p MFwnEQheaFlKYiwg X-Authentic-SMTP: 61633235383639.squirrel.dmpriest.net.uk:787/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system! X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/336 X-Sequence-Number: 129658 On Mon, 2008-03-10 at 17:18 +0100, Dimitri Fontaine wrote: > Le samedi 01 mars 2008, Simon Riggs a écrit : > > On Tue, 2008-02-26 at 13:08 +0100, Dimitri Fontaine wrote: > > > I'd like to have some feedback about the new version, in term of bugs > > > encountered and performance limitations (is pgloader up to what you would > > > expect a multi-threaded loader to be at?) > > > > Maybe post to general as well if you don't get any replies here. > > New feature is very important for us. > > So, here's yet another mail about pgloader new 2.3.0 version, please forgive > me for being over zealous here if that's how I appear to be to you... > > Those links will give you detailed information about the new release. > http://pgfoundry.org/projects/pgloader > http://pgfoundry.org/forum/forum.php?forum_id=1283 > http://pgloader.projects.postgresql.org/#_parallel_loading Sounds good. Not sure when or why I would want an rrqueue_size larger than copy_every, and less sounds very strange. Can we get away with it being the same thing in all cases? Do you have some basic performance numbers? It would be good to understand the overhead of the parallelism on a large file with 1, 2 and 4 threads. Would be good to see if synchronous_commit = off helped speed things up as well. Presumably -V and -T still work when we go parallel, but just issue one query? -- Simon Riggs 2ndQuadrant http://www.2ndQuadrant.com PostgreSQL UK 2008 Conference: http://www.postgresql.org.uk