X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 58F379DC852 for ; Tue, 28 Mar 2006 13:32:22 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 15425-02 for ; Tue, 28 Mar 2006 13:32:18 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 442B29DCB78 for ; Tue, 28 Mar 2006 13:32:16 -0400 (AST) Received: by noel.decibel.org (Postfix, from userid 1001) id 61B7456423; Tue, 28 Mar 2006 11:32:14 -0600 (CST) Received: (hashcash-sendmail, from uid 1001); Tue, 28 Mar 2006 11:32:13 -0600 Date: Tue, 28 Mar 2006 11:32:13 -0600 From: "Jim C. Nasby" To: Greg Quinn Cc: pgsql-performance@postgresql.org Subject: Re: Slow performance on Windows .NET and OleDb Message-ID: <20060328173213.GO75181@pervasive.com> References: <000d01c65261$19a3fa40$0200a8c0@pta.homex.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000d01c65261$19a3fa40$0200a8c0@pta.homex.co.za> X-Operating-System: FreeBSD 6.0-RELEASE-p4 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Hashcash: 1:20:060328:greg@officium.co.za::JetbPpUYl9aqeGyn:000000000000000000 0000000000000000000000001Dtb X-Hashcash: 1:20:060328:pgsql-performance@postgresql.org::JJputQpNMaad3xXl:00000 00000000000000000000000049Me X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.108 required=5 tests=[AWL=0.108] X-Spam-Score: 0.108 X-Spam-Level: X-Archive-Number: 200603/550 X-Sequence-Number: 17987 On Tue, Mar 28, 2006 at 02:14:00PM +0200, Greg Quinn wrote: > Hello, > > I have just installed PostGreSql 8.1 on my Windows XP PC. I created a > simple table called users with 4 varchar fields. > > I am using the OleDb connection driver. In my .NET application, I populate > 3000 records into the table to test PostGreSql's speed. It takes about 3-4 > seconds. > > Even worse is displaying the 3000 records in a ListView control. It takes > about 7 seconds. In MySQL, the exact same table and application displays > the same 3000 records in under 1/2 second!!! Have you vacuumed recently? This smells like it might be a table bloat problem. -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461