X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx2.hub.org [200.46.204.254]) by postgresql.org (Postfix) with ESMTP id 788C911F66B7 for ; Tue, 11 Apr 2006 19:30:06 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: 0.55 X-Spam-Level: X-Spam-Status: No, score=0.55 required=5 tests=[NO_REAL_NAME=0.55] Received: from postgresql.org ([200.46.204.71]) by localhost (mx2.hub.org [200.46.204.254]) (amavisd-new, port 10024) with ESMTP id y1dPfnE3dnbX for ; Tue, 11 Apr 2006 19:29:58 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from linda-5.paradise.net.nz (bm-5a.paradise.net.nz [203.96.152.184]) by postgresql.org (Postfix) with ESMTP id CA9ED11F6387 for ; Tue, 11 Apr 2006 19:20:57 -0300 (ADT) Received: from ux421.paradise.net.nz (tclsnelb1-src-1.paradise.net.nz [203.96.152.172]) by linda-5.paradise.net.nz (Paradise.net.nz) with ESMTP id <0IXK00KSXWQVR2@linda-5.paradise.net.nz> for pgsql-performance@postgresql.org; Wed, 12 Apr 2006 10:20:56 +1200 (NZST) Received: by ux421.paradise.net.nz (Postfix, from userid 30) id A2C0BCAF; Wed, 12 Apr 2006 10:20:55 +1200 (NZST) Date: Wed, 12 Apr 2006 10:20:55 +1200 (NZST) From: markir@paradise.net.nz Subject: Re: Sequencial scan instead of using index In-reply-to: <1144793874.443c2b1272c80@www.paradise.net.nz> X-Originating-IP: 67.103.45.218 To: "markir@paradise.net.nz" Cc: Harry Hehl , Mark Kirkwood , "pgsql-performance@postgresql.org" Message-id: <1144794055.443c2bc79c75b@www.paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.7 References: <6AD4F3A63B017C4FB074E2C895AD18541090C6@EXCHSRV.waterloonetworking.net> <1144793874.443c2b1272c80@www.paradise.net.nz> X-Archive-Number: 200604/248 X-Sequence-Number: 18332 Quoting "markir@paradise.net.nz" : > Hmm - that first query needs to do a sort, so you might want to > experiment with > the sort_mem parameter Oops - I mean work_mem...