From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-performance@postgresql.org
Subject: Re: My indexes aren't being used (according to EXPLAIN)
Date: Mon, 1 Dec 2003 09:04:10 -0500
Message-ID: <20031201140410.GC4107@libertyrms.info> (raw)
In-Reply-To: <EE58217C-2403-11D8-BDFB-000A9583BF06@norvelle.net>
References: <EE58217C-2403-11D8-BDFB-000A9583BF06@norvelle.net>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: andrew@libertyrms.info
Subject: Re: My indexes aren't being used (according to EXPLAIN)
In-Reply-To: <20031201140410.GC4107@libertyrms.info>
References: <EE58217C-2403-11D8-BDFB-000A9583BF06@norvelle.net> <20031201140410.GC4107@libertyrms.info>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox