Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id D66259FB2BE for ; Tue, 3 Oct 2006 09:01:18 -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 10717-06 for ; Tue, 3 Oct 2006 09:01:06 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from cassarossa.samfundet.no (cassarossa.samfundet.no [129.241.93.19]) by postgresql.org (Postfix) with ESMTP id 6E50D9FA4C5 for ; Tue, 3 Oct 2006 09:01:05 -0300 (ADT) Received: from trofast.sesse.net ([129.241.93.32]) by cassarossa.samfundet.no with esmtp (Exim 4.50) id 1GUixH-0008Ht-R7; Tue, 03 Oct 2006 14:01:00 +0200 Received: from sesse by trofast.sesse.net with local (Exim 3.36 #1 (Debian)) id 1GUiwl-0003Ue-00; Tue, 03 Oct 2006 14:00:27 +0200 Date: Tue, 3 Oct 2006 14:00:27 +0200 From: "Steinar H. Gunderson" To: Arnaud Lesauvage Cc: pgsql-performance@postgresql.org Subject: Re: Poor performance on very simple query ? Message-ID: <20061003120027.GA13395@uio.no> Mail-Followup-To: Arnaud Lesauvage , pgsql-performance@postgresql.org References: <45224896.7040708@freesurf.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <45224896.7040708@freesurf.fr> X-Operating-System: Linux 2.6.17.11 on a x86_64 X-Message-Flag: Outlook? --> http://www.mozilla.org/products/thunderbird/ User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.033 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200610/30 X-Sequence-Number: 21159 On Tue, Oct 03, 2006 at 01:25:10PM +0200, Arnaud Lesauvage wrote: > For example, this query returns only 7 rows and takes about 1 > second to run ! > > [...] > > Total runtime: 0.801 ms 0.801 ms is _far_ under a second... Where do you have the latter timing from? /* Steinar */ -- Homepage: http://www.sesse.net/