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 306695E46C1 for ; Mon, 30 Aug 2004 16:09:22 -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 05554-08 for ; Mon, 30 Aug 2004 19:09:17 +0000 (GMT) Received: from wolff.to (wolff.to [66.93.249.74]) by svr1.postgresql.org (Postfix) with SMTP id 305FD5E46CC for ; Mon, 30 Aug 2004 16:09:15 -0300 (ADT) Received: (qmail 1583 invoked by uid 500); 30 Aug 2004 19:18:05 -0000 Date: Mon, 30 Aug 2004 14:18:05 -0500 From: Bruno Wolff III To: Martin Sarsale Cc: pgsql-performance@postgresql.org Subject: Re: seqscan instead of index scan Message-ID: <20040830191805.GA1521@wolff.to> Mail-Followup-To: Martin Sarsale , pgsql-performance@postgresql.org References: <1093887997.1680.71.camel@kadaif> <20040830180227.GA32520@wolff.to> <1093889235.1680.77.camel@kadaif> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1093889235.1680.77.camel@kadaif> User-Agent: Mutt/1.5.6i 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: 200408/451 X-Sequence-Number: 8087 On Mon, Aug 30, 2004 at 15:07:15 -0300, Martin Sarsale wrote: > > With combined index, you mean a multiple column index? > From > http://www.postgresql.org/docs/7.4/interactive/indexes-multicolumn.html You are right, a multicolumn index doesn't help for 'or'.