pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
huge table / bitmap indexes
2+ messages / 2 participants
[nested] [flat]

* huge table / bitmap indexes
@ 2003-06-19 01:24  cure@icpnet.pl
  0 siblings, 1 reply; 2+ messages in thread

From: cure@icpnet.pl @ 2003-06-19 01:24 UTC (permalink / raw)
  To: pgsql-admin

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 ?

    Thanks - Cure
  

-- 
The poor player plays the opponent's game for him. 
 cure                          mailto:cure@icpnet.pl




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: huge table / bitmap indexes
@ 2003-06-19 14:16  scott.marlowe <scott.marlowe@ihs.com>
  parent: cure@icpnet.pl
  0 siblings, 0 replies; 2+ messages in thread

From: scott.marlowe @ 2003-06-19 14:16 UTC (permalink / raw)
  To: cure@icpnet.pl; +Cc: pgsql-admin

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?




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-06-19 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-06-19 01:24 huge table / bitmap indexes cure@icpnet.pl
2003-06-19 14:16 ` scott.marlowe <scott.marlowe@ihs.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox