Re: My indexes aren't being used (according to EXPLAIN) - Mailing list pgsql-performance

From Andrew Sullivan
Subject Re: My indexes aren't being used (according to EXPLAIN)
Date
Msg-id 20031201140410.GC4107@libertyrms.info
Whole thread Raw
In response to My indexes aren't being used (according to EXPLAIN)  (Erik Norvelle <erik@norvelle.net>)
Responses Re: My indexes aren't being used (according to EXPLAIN)
List pgsql-performance
On Mon, Dec 01, 2003 at 02:40:30PM +0100, Erik Norvelle wrote:
>
> it=> explain select * from indethom where clavis < 25;

What's the percentage of the table where clavis < 25?  Have you
ANALYSEd recently?  What does the pg_stats view tell you about this
table?

> Feel free to point me to any FAQ or previous message that already
> answers this question.  Thanks in advance!

This is a pretty common sort of problem.  See the archives of this
list for several fairly recent discussions of these sorts of
problems.

A

--
----
Andrew Sullivan                         204-4141 Yonge Street
Afilias Canada                        Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110


pgsql-performance by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: Various Questions
Next
From: Jeff
Date:
Subject: Re: Dump restoration via archive files