pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Teran <david.teran@cluster9.com>
Cc: PgSQL Performance ML <pgsql-performance@postgresql.org>
Subject: Re: AND OR combination: index not being used
Date: Thu, 12 May 2005 10:15:26 -0400
Message-ID: <254.1115907326@sss.pgh.pa.us> (raw)
In-Reply-To: <2aeb891e99fa6313e9e3a20d48c099aa@cluster9.com>
References: <2aeb891e99fa6313e9e3a20d48c099aa@cluster9.com>

David Teran <david.teran@cluster9.com> writes:
> Any hint how 
> to force postgres to use the index even with more OR parts?

More up-to-date statistics would evidently help; the thing is estimating
hundreds of rows returned and actually finding none.

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <254.1115907326@sss.pgh.pa.us>
Permalink:  ../254.1115907326@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/254.1115907326@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, david.teran@cluster9.com
  Subject: Re: AND OR combination: index not being used
  In-Reply-To: <254.1115907326@sss.pgh.pa.us>

* 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