X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EB454D1B34B for ; Fri, 18 Jun 2004 09:07:39 -0300 (ADT) 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 91424-10 for ; Fri, 18 Jun 2004 12:07:38 +0000 (GMT) Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by svr1.postgresql.org (Postfix) with ESMTP id 46CBAD1B298 for ; Fri, 18 Jun 2004 09:07:34 -0300 (ADT) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-31.mail.demon.net with esmtp (Exim 3.35 #1) id 1BbI9Y-0009fg-0V; Fri, 18 Jun 2004 13:07:31 +0100 Received: from [192.168.1.17] (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 9DFF517A96; Fri, 18 Jun 2004 13:07:15 +0100 (BST) Message-ID: <40D2DAF3.2080107@archonet.com> Date: Fri, 18 Jun 2004 13:07:15 +0100 From: Richard Huxton User-Agent: Mozilla Thunderbird 0.7 (X11/20040615) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gary Cowell Cc: pgsql-performance@postgresql.org Subject: Re: Major differences between oracle and postgres performance References: <20040618113157.84084.qmail@web25104.mail.ukl.yahoo.com> In-Reply-To: <20040618113157.84084.qmail@web25104.mail.ukl.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/180 X-Sequence-Number: 7238 Gary Cowell wrote: > > I'm not as familiar with postgresql as I am with > Oracle but I think I've configured comparible > buffering and sort area sizes, certainly there isn't > much physical IO going on in either case. People are going to want to know: 1. version of PG 2. explain analyse output, rather than just explain 3. What values you've used for the postgresql.conf file The actual plan from explain analyse isn't going to be much use - as you say, a scan of the whole table followed by sorting is the best you'll get. However, the actual costs of these steps might say something useful. -- Richard Huxton Archonet Ltd