Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id D60A52E3A74 for ; Tue, 5 Feb 2008 10:44:01 -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 10027-03 for ; Tue, 5 Feb 2008 10:43:25 -0400 (AST) Received: from ptb-relay02.plus.net (ptb-relay02.plus.net [212.159.14.213]) by postgresql.org (Postfix) with ESMTP id ABFE62E33D4 for ; Tue, 5 Feb 2008 10:43:42 -0400 (AST) Received: from [84.51.143.99] (helo=server3.office.archonet.com) by ptb-relay02.plus.net with esmtp (Exim) id 1JMP1M-0001zc-R8; Tue, 05 Feb 2008 14:43:36 +0000 Received: from [192.168.1.36] (dell36.office.archonet.com [192.168.1.36]) by server3.office.archonet.com (Postfix) with ESMTP id 25840274061; Tue, 5 Feb 2008 14:43:36 +0000 (GMT) Message-ID: <47A87618.1090203@archonet.com> Date: Tue, 05 Feb 2008 14:43:36 +0000 From: Richard Huxton User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: Simon Riggs CC: Dimitri Fontaine , pgsql-performance@postgresql.org, "Jignesh K. Shah" , Greg Smith Subject: Re: Benchmark Data requested References: <1202150236.4252.521.camel@ebony.site> <47A797E5.4000507@sun.com> <200802051506.51581.dfontaine@hi-media.com> <1202221496.4252.680.camel@ebony.site> In-Reply-To: <1202221496.4252.680.camel@ebony.site> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Plusnet-Relay: c7558e96f775cf078ff685c9cb9c4f9f X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/32 X-Sequence-Number: 28574 Simon Riggs wrote: > On Tue, 2008-02-05 at 15:06 +0100, Dimitri Fontaine wrote: >> >> Le lundi 04 f=C3=A9vrier 2008, Jignesh K. Shah a =C3=A9crit : >>> Multiple table loads ( 1 per table) spawned via script is bit better >>> but hits wal problems. >> pgloader will too hit the WAL problem, but it still may have its benef= its, or=20 >> at least we will soon (you can already if you take it from CVS) be abl= e to=20 >> measure if the parallel loading at the client side is a good idea perf= . wise. >=20 > Should be able to reduce lock contention, but not overall WAL volume. In the case of a bulk upload to an empty table (or partition?) could you=20 not optimise the WAL away? That is, shouldn't the WAL basically be a=20 simple transformation of the on-disk blocks? You'd have to explicitly=20 sync the file(s) for the table/indexes of course, and you'd need some=20 work-around for WAL shipping, but it might be worth it for you chaps=20 with large imports. --=20 Richard Huxton Archonet Ltd