pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: valgog <valgog@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: Index usage when bitwise operator is used
Date: Tue, 18 Sep 2007 10:36:23 -0000
Message-ID: <1190111783.077030.48670@22g2000hsm.googlegroups.com> (raw)
In-Reply-To: <21403.1190036229@sss.pgh.pa.us>
References: <f97d4e240709130530ve3cc522g61ccca23335618f4@mail.gmail.com>
	<46ED7CCD.EE98.0025.0@wicourts.gov>
	<1190015368.148293.56830@y42g2000hsy.googlegroups.com>
	<46EE2C53.EE98.0025.0@wicourts.gov>
	<21403.1190036229@sss.pgh.pa.us>

Hi Tom,

do you think it would be a good idea to ask GIN index team to
implement an int-based bitmap set indexing operator for GIN/GiST based
indexes? Or there will be a possibility to somehow optimally index
arrays of enumerations to implement such bitmap structures in 8.3 or
later postgresql versions?

With best regards,

-- Valentine

On Sep 17, 3:37 pm, t...@sss.pgh.pa.us (Tom Lane) wrote:
> "Kevin Grittner" <Kevin.Gritt...@wicourts.gov> writes:
> > On Mon, Sep 17, 2007 at  2:49 AM, in message
> > <1190015368.148293.56...@y42g2000hsy.googlegroups.com>, valgog
> > <val...@gmail.com> wrote:=20
> >> Are you sure you understood what was the question?
>
> >> Is the TBL1.CATEGORY = TBL2.CATEGORY the same as TBL1.CATEGORY &
> >> TBL2.CATEGORY > 0?
> > Yes, given that he stipulated that one and only one bit would be set.
>
> Really?  In that case, isn't this bit-field just a bad implementation of
> an enum-style field?
>
>                         regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majord...@postgresql.org so that your
>        message can get through to the mailing list cleanly





view thread (10+ messages)

Message-ID: <1190111783.077030.48670@22g2000hsm.googlegroups.com>
Permalink:  ../1190111783.077030.48670@22g2000hsm.googlegroups.com/
Also on:    postgresql.org/message-id/1190111783.077030.48670@22g2000hsm.googlegroups.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: valgog@gmail.com
  Subject: Re: Index usage when bitwise operator is used
  In-Reply-To: <1190111783.077030.48670@22g2000hsm.googlegroups.com>
  References: <f97d4e240709130530ve3cc522g61ccca23335618f4@mail.gmail.com> <46ED7CCD.EE98.0025.0@wicourts.gov> <1190015368.148293.56830@y42g2000hsy.googlegroups.com> <46EE2C53.EE98.0025.0@wicourts.gov> <21403.1190036229@sss.pgh.pa.us> <1190111783.077030.48670@22g2000hsm.googlegroups.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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