X-Original-To: pgsql-bugs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1A1F33A6778; Mon, 13 Dec 2004 22:43:13 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 07822-10; Mon, 13 Dec 2004 22:43:07 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 25DC23A6634; Mon, 13 Dec 2004 22:43:08 +0000 (GMT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1CdyuI-0000Xh-00; Tue, 14 Dec 2004 11:43:06 +1300 Message-ID: <41BE1CAF.5010406@opencloud.com> Date: Tue, 14 Dec 2004 11:50:23 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 0.9 (X11/20041130) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Jurka Cc: pgsql-bugs@postgresql.org, pgsql-jdbc@postgresql.org Subject: Re: [JDBC] BUG #1347: Bulk Import stopps after a while ( References: In-Reply-To: X-Enigmail-Version: 0.89.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200412/172 X-Sequence-Number: 10302 Kris Jurka wrote: > I sent him a driver that was recompiled with MAX_BUFFERED_QUERIES = 1 and > he still appears to be having some problems, but I have no idea where. I wonder if he is doing one transaction per batch update loop or something similar. If there's a bottleneck on the server side that's related to the number of updates in a transaction (deferred constraints or something similar?) then that could explain some of the behaviour. Don't know why changing MAX_BUFFERED_QUERIES would change things at all if that's the case, though. -O