Re: Query on postgresql 7.4.2 not using index - Mailing list pgsql-performance

From Tom Lane
Subject Re: Query on postgresql 7.4.2 not using index
Date
Msg-id 19861.1145980536@sss.pgh.pa.us
Whole thread Raw
In response to Re: Query on postgresql 7.4.2 not using index  (Arnau <arnaulist@andromeiberica.com>)
List pgsql-performance
Arnau <arnaulist@andromeiberica.com> writes:
> I have done the same tests on 8.1.0.

Bitmap scans are a totally different animal that doesn't exist in 7.4.
A plain indexscan, such as 7.4 knows about, is generally not effective
for fetching more than a percent or two of the table.  The crossover
point for a bitmap scan is much higher (don't know exactly, but probably
something like 30-50%).

            regards, tom lane

pgsql-performance by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Query on postgresql 7.4.2 not using index
Next
From: Arnau
Date:
Subject: Re: Query on postgresql 7.4.2 not using index