"Marc G. Fournier" <[EMAIL PROTECTED]> writes:
> But, ti will if I try 'priority = -2' ... what is teh threshhold for using
> the index? obviously 10% of the records is too high ...
Depends on a lot of factors, but usually somewhere between 1% and 10%.
(The new bitmap index scan code in 8.1 shou
Try as I might, I can't seem to get it to work ... table has >9million
rows in it, I've created an index "using btree ( priority ) where priority
< 0;", where the table distribution looks like:
priority | count
--+-
-2 | 138435
-1 | 943250
1 |3416