X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id B218F9FB2A2 for ; Fri, 11 Aug 2006 05:48:26 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 55472-10 for ; Fri, 11 Aug 2006 05:48:22 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.logix-tt.com (mail.logix-tt.com [212.211.145.186]) by postgresql.org (Postfix) with ESMTP id 0CC119FB2C0 for ; Fri, 11 Aug 2006 05:48:22 -0300 (ADT) Received: from kingfisher.intern.logix-tt.com (80-219-241-140.dclient.hispeed.ch [80.219.241.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logix-tt.com (Postfix) with ESMTP id 9FB2D656BB; Fri, 11 Aug 2006 10:50:20 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id 1D0CE18148BC0; Fri, 11 Aug 2006 10:48:36 +0200 (CEST) Message-ID: <44DC4463.5@logix-tt.com> Date: Fri, 11 Aug 2006 10:48:35 +0200 From: Markus Schaber Reply-To: PostgreSQL Performance List Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Thunderbird 1.5.0.4 (X11/20060713) MIME-Version: 1.0 To: pgsql-performance@postgresql.org Cc: Kumarselvan S Subject: Re: [BUGS] BUG #2567: High IOWAIT References: <20060810043408.9C0277E40C2@smtp1.netmagicians.com> <4D27CB1096EF1C408F4BFAB0046EC7B667D929@ausmailid.aus.pervasive.com> In-Reply-To: <4D27CB1096EF1C408F4BFAB0046EC7B667D929@ausmailid.aus.pervasive.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.135 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200608/201 X-Sequence-Number: 20386 Hi, Jim, Jim Nasby wrote: > Your biggest win would be to batch those inserts together into > transactions, if possible. Using COPY instead of INSERT might even give better wins, and AFAIK some client libs use COPY internally (e. G. tablewriter from libpqxx). > If not, the commit_delay settings might help you out. As far as I understand, this will only help for concurrent inserts by different clients, dealing throughput for latency. Please correct me if I'm wrong. HTH, Markus -- Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org