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


On 12.05.2005, at 16:15, Tom Lane wrote:

> 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.
>
I always do a 'vacuum analyze' if something does not work as expected. 
But this did not help. Any other tip?

regards, David




view thread (3+ messages)

Message-ID: <5989cd23aa4942c871aba9cdcd7c4262@cluster9.com>
Permalink:  ../5989cd23aa4942c871aba9cdcd7c4262@cluster9.com/
Also on:    postgresql.org/message-id/5989cd23aa4942c871aba9cdcd7c4262@cluster9.com

 · 

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: david.teran@cluster9.com, tgl@sss.pgh.pa.us
  Subject: Re: AND OR combination: index not being used
  In-Reply-To: <5989cd23aa4942c871aba9cdcd7c4262@cluster9.com>

* 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