X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id B022ED1CA77 for ; Sat, 3 Apr 2004 22:43:22 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 76300-06 for ; Sat, 3 Apr 2004 18:43:37 -0400 (AST) Received: from hotmail.com (law10-oe20.law10.hotmail.com [64.4.14.124]) by svr1.postgresql.org (Postfix) with ESMTP id BB8B4D1B4BB for ; Sat, 3 Apr 2004 18:43:20 -0400 (AST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 3 Apr 2004 14:43:39 -0800 Received: from 67.81.102.201 by law10-oe20.law10.hotmail.com with DAV; Sat, 03 Apr 2004 22:43:39 +0000 X-Originating-IP: [67.81.102.201] X-Originating-Email: [awerman2@hotmail.com] X-Sender: awerman2@hotmail.com From: "Aaron Werman" To: , "Gary Doades" , References: <406EA51B.21218.D2DE061@localhost> <200404031059.39268.josh@agliodbs.com> Subject: Re: PostgreSQL and Linux 2.6 kernel. Date: Sat, 3 Apr 2004 17:43:52 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: X-OriginalArrivalTime: 03 Apr 2004 22:43:39.0389 (UTC) FILETIME=[1B84BAD0:01C419CD] X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/22 X-Sequence-Number: 6322 Almost any cross dbms migration shows a drop in performance. The engine effectively trains developers and administrators in what works and what doesn't. The initial migration thus compares a tuned to an untuned version. /Aaron ----- Original Message ----- From: "Josh Berkus" To: "Gary Doades" ; Sent: Saturday, April 03, 2004 1:59 PM Subject: Re: [PERFORM] PostgreSQL and Linux 2.6 kernel. > Gary, > > > There are no indexes on the columns involved in the update, they are > > not required for my usual select statements. This is an attempt to > > slightly denormalise the design to get the performance up comparable > > to SQL Server 2000. We hope to move some of our databases over to > > PostgreSQL later in the year and this is part of the ongoing testing. > > SQLServer's query optimiser is a bit smarter that PostgreSQL's (yet) > > so I am hand optimising some of the more frequently used > > SQL and/or tweaking the database design slightly. > > Hmmm ... that hasn't been my general experience on complex queries. However, > it may be due to a difference in ANALYZE statistics. I'd love to see you > increase your default_stats_target, re-analyze, and see if PostgreSQL gets > "smarter". > > -- > -Josh Berkus > Aglio Database Solutions > San Francisco > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly >