Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 9229F2E4172 for ; Tue, 5 Feb 2008 14:51:20 -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 44823-04 for ; Tue, 5 Feb 2008 14:51:12 -0400 (AST) Received: from brmea-mail-3.sun.com (brmea-mail-3.Sun.COM [192.18.98.34]) by postgresql.org (Postfix) with ESMTP id 3021C2E4061 for ; Tue, 5 Feb 2008 14:51:13 -0400 (AST) Received: from fe-amer-09.sun.com ([192.18.109.79]) by brmea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m15IpCfF024003 for ; Tue, 5 Feb 2008 18:51:12 GMT Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0JVS00B0142ZGZ00@mail-amer.sun.com> (original mail from J.K.Shah@Sun.COM) for pgsql-performance@postgresql.org; Tue, 05 Feb 2008 11:51:12 -0700 (MST) Received: from [129.148.168.2] by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0JVS0077F4CVUW50@mail-amer.sun.com>; Tue, 05 Feb 2008 11:50:56 -0700 (MST) Date: Tue, 05 Feb 2008 13:47:13 -0500 From: "Jignesh K. Shah" Subject: Re: Benchmark Data requested In-reply-to: <1202232753.4252.789.camel@ebony.site> To: Simon Riggs Cc: Dimitri Fontaine , pgsql-performance@postgresql.org, Greg Smith Message-id: <47A8AF31.8070304@sun.com> Organization: Sun Microsystems MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=UTF-8 Content-transfer-encoding: 8BIT References: <1202150236.4252.521.camel@ebony.site> <200802051506.51581.dfontaine@hi-media.com> <1202221496.4252.680.camel@ebony.site> <200802051815.25800.dfontaine@hi-media.com> <1202232753.4252.789.camel@ebony.site> User-Agent: Thunderbird 2.0.0.4 (X11/20070622) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/49 X-Sequence-Number: 28591 That sounds cool to me too.. How much work is to make pg_bulkload to work on 8.3? An Integrated version is certainly more beneficial. Specially I think it will also help for other setups like TPC-E too where this is a problem. Regards, Jignesh Simon Riggs wrote: > On Tue, 2008-02-05 at 18:15 +0100, Dimitri Fontaine wrote: > >> Le mardi 05 février 2008, Simon Riggs a écrit : >> >>> I'll look at COPY FROM internals to make this faster. I'm looking at >>> this now to refresh my memory; I already had some plans on the shelf. >>> >> Maybe stealing some ideas from pg_bulkload could somewhat help here? >> http://pgfoundry.org/docman/view.php/1000261/456/20060709_pg_bulkload.pdf >> > > >> IIRC it's mainly about how to optimize index updating while loading data, and >> I've heard complaints on the line "this external tool has to know too much >> about PostgreSQL internals to be trustworthy as non-core code"... so... >> > > Yeh, the batch index updates are a cool feature. Should be able to do > that internally also. > > Not going to try the no-WAL route again though. If we can get it running > efficiently and in parallel, then that will be OK. > >