Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 04CDE9FB1D7 for ; Tue, 3 Oct 2006 09:14:11 -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 81428-03 for ; Tue, 3 Oct 2006 12:14:02 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from serveurmail01.codata.be (125.123.146.82.ipv4.evonet.be [82.146.123.125]) by postgresql.org (Postfix) with ESMTP id 202969FA4C5 for ; Tue, 3 Oct 2006 09:14:01 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by serveurmail01.codata.be (Postfix) with ESMTP id C93B2A8003; Tue, 3 Oct 2006 14:13:59 +0200 (CEST) X-DSPAM-Result: Innocent X-DSPAM-Processed: Tue Oct 3 14:13:59 2006 X-DSPAM-Confidence: 0.5865 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 45225407199162932916029 X-DSPAM-Factors: 27, X-Virus-Scanned: amavisd-new at Received: from serveurmail01.codata.be ([127.0.0.1]) by localhost (serveurmail01.codata.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 74HAiD+SaK8y; Tue, 3 Oct 2006 14:13:59 +0200 (CEST) Received: from [192.168.1.201] (unknown [192.168.1.201]) by serveurmail01.codata.be (Postfix) with ESMTP id 42989A8001; Tue, 3 Oct 2006 14:13:59 +0200 (CEST) Message-ID: <45225407.7090805@freesurf.fr> Date: Tue, 03 Oct 2006 14:13:59 +0200 From: Arnaud Lesauvage User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Tobias Brox CC: pgsql-performance@postgresql.org Subject: Re: Poor performance on very simple query ? References: <45224896.7040708@freesurf.fr> <20061003121004.GC30211@oppetid.no> <20061003121109.GD30211@oppetid.no> In-Reply-To: <20061003121109.GD30211@oppetid.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: 200610/35 X-Sequence-Number: 21164 Tobias Brox wrote: > Oh, the gid is not primary key. I guess I should also apologize for > adding noise here :-) Yes, it is a primary key, but I am the noise maker here ! ;-)