Re: index not used afer VACUUM ANALYZE - Mailing list pgsql-bugs

From Stephan Szabo
Subject Re: index not used afer VACUUM ANALYZE
Date
Msg-id 20030825004313.V79187-100000@megazone.bigpanda.com
Whole thread Raw
In response to index not used afer VACUUM ANALYZE  (mike <mike@Reifenberger.com>)
Responses Re: index not used afer VACUUM ANALYZE
List pgsql-bugs
On Thu, 21 Aug 2003, mike wrote:

> Hi,
> I hav a db as specified in nit.sql
> flows has 763488 entries.
>
> After dropping/creating/loading the db and running auswert.sh I get
> the attached result from query1.txt.
> After 'VACUUM ANALYZE' I get the results from query2.txt
>
> As you can see, the indexes are not used any longer.
> Why?

It looks like the row estimates changed to say that a large % of the rows
match the condition.  Is that true?  In any case, what does EXPLAIN
ANALYZE rather than EXPLAIN say for the various queries?

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: problem with libpq/encrypted
Next
From: Stephan Szabo
Date:
Subject: Re: index not used afer VACUUM ANALYZE