| From: | Michael Fuhr <mike(at)fuhr(dot)org> |
|---|---|
| To: | Ron Arts <ron(dot)arts(at)neonova(dot)nl> |
| Cc: | pgsql-novice(at)postgresql(dot)org |
| Subject: | Re: partial indexed not being used. |
| Date: | 2007-02-12 02:42:45 |
| Message-ID: | 20070212024245.GA11481@winnie.fuhr.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice |
On Sun, Feb 11, 2007 at 07:27:29PM -0700, Michael Fuhr wrote:
> If using the index would be slower than a sequential scan then you
> don't want the query to use the index. Let's see how accurate the
> row count estimates are and whether using an index really would be
> faster -- please post the output of the following queries:
Also, what's your hardware configuration and what non-default
settings do you have in postgresql.conf? In particular, how much
memory do you have and what values do you have for shared_buffers,
effective_cache_size, work_mem, and random_page_cost?
--
Michael Fuhr
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Oscar Alberto Chavarria Marin | 2007-02-12 03:16:36 | Problem adding columns |
| Previous Message | Michael Fuhr | 2007-02-12 02:27:29 | Re: partial indexed not being used. |