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

From Erik Norvelle
Subject Re: My indexes aren't being used (according to EXPLAIN)
Date
Msg-id 99468E86-2410-11D8-BDFB-000A9583BF06@norvelle.net
Whole thread Raw
In response to Re: My indexes aren't being used (according to EXPLAIN)  (Andrew Sullivan <andrew@libertyrms.info>)
List pgsql-performance
The ANALYSE did the trick... Thanks!  Will also read through the
archives...

-Erik

On lunes, dici 1, 2003, at 15:04 Europe/Madrid, Andrew Sullivan wrote:

> 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
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
>                http://archives.postgresql.org
>


pgsql-performance by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Dump restoration via archive files
Next
From: Richard Huxton
Date:
Subject: Re: cross table indexes or something?