X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 2AEF59FA69A for ; Fri, 11 Aug 2006 06:02:02 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 37855-04 for ; Fri, 11 Aug 2006 09:01:58 +0000 (UTC) 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 7ECAE9FB2A2 for ; Fri, 11 Aug 2006 06:01:58 -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 D35B3656BB; Fri, 11 Aug 2006 11:03:56 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id E70E318148BC0; Fri, 11 Aug 2006 11:02:12 +0200 (CEST) Message-ID: <44DC4794.2000507@logix-tt.com> Date: Fri, 11 Aug 2006 11:02:12 +0200 From: Markus Schaber Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Thunderbird 1.5.0.4 (X11/20060713) MIME-Version: 1.0 To: hansell baran Cc: pgsql-performance@postgresql.org Subject: Re: slow transfer speeds with PostgreSQL References: <20060803233939.75401.qmail@web30304.mail.mud.yahoo.com> In-Reply-To: <20060803233939.75401.qmail@web30304.mail.mud.yahoo.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/203 X-Sequence-Number: 20388 Hi, Hansell, hansell baran wrote: > When we run the following query "SELECT * FROM big_table", we get the > following resutls: Just for Curiosity: Could you try to "COPY big_table TO stdout" from psql[.exe]? (and possibly redirect the psql output to /dev/null or so?) > Is there a way to increase the transfer rates? Which file system do you use? Could you try to "VACUUM FULL" the tables? I assume that, for complex queries, you have all the appropriate indices etc. Also, I have to admit, that for single-client scenarios and simple, mostly read-only queries, PostgreSQL tends to be slower than Access and MySQL. However, this changes as soon as you have multiple concurrent writing clients. You should take this into account when benchmarking your servers (by modelling the appropriate benchmarks), and when deciding which database to use (by trying to estimate future usage patterns). 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