Re: Planner question - "bit" data types

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Karl Denninger <karl(at)denninger(dot)net>
Cc: Merlin Moncure <mmoncure(at)gmail(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Planner question - "bit" data types
Date: 2009-09-05 21:33:40
Message-ID: 8219.1252186420@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Karl Denninger <karl(at)denninger(dot)net> writes:
> That doesn't help in this case as the returned set will typically be
> quite large, with the condition typically being valid on anywhere from
> 10-80% of the returned tuples.

In that case you'd be wasting your time to get it to use an index
for the condition anyway. Maybe you need to take a step back and
look at the query as a whole rather than focus on this particular
condition.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Karl Denninger 2009-09-05 21:39:45 Re: Planner question - "bit" data types
Previous Message Karl Denninger 2009-09-05 21:09:36 Re: Planner question - "bit" data types