X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id DB05F30E505 for ; Thu, 19 Jun 2003 14:18:56 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 64373-10 for ; Thu, 19 Jun 2003 11:18:46 -0300 (ADT) Received: from mail1.ihs.com (mail1.ihs.com [170.207.70.222]) by svr1.postgresql.org (Postfix) with ESMTP id 0CF2C30DDC3 for ; Thu, 19 Jun 2003 11:18:46 -0300 (ADT) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.9/8.12.9) with ESMTP id h5JEHd4w000676; Thu, 19 Jun 2003 08:17:40 -0600 (MDT) Date: Thu, 19 Jun 2003 08:16:07 -0600 (MDT) From: "scott.marlowe" To: Cc: Subject: Re: huge table / bitmap indexes In-Reply-To: <16562808900.20030619032434@icpnet.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailScanner: Found to be clean X-MailScanner-SpamCheck: X-Archive-Number: 200306/259 X-Sequence-Number: 9250 On Thu, 19 Jun 2003 cure@icpnet.pl wrote: > Hello All > > is in postgres any possibility to create bitmap index ? I have big > (~12 000 000 records) table where one field have limited count of > values. Many queries use this field in where section. I thing that > bitmap index will by better than BTree. > How i can optimize select on this table ? Might a partial index help? create index tb_dx on tb (field) where field=1 kind of thing?