Re: AND OR combination: index not being used - Mailing list pgsql-performance

From David Teran
Subject Re: AND OR combination: index not being used
Date
Msg-id 5989cd23aa4942c871aba9cdcd7c4262@cluster9.com
Whole thread Raw
In response to Re: AND OR combination: index not being used  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
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


pgsql-performance by date:

Previous
From: Sebastian Hennebrueder
Date:
Subject: Optimize complex join to use where condition before join
Next
From: Sebastian Hennebrueder
Date:
Subject: Re: Optimize complex join to use where condition before