Re: AND OR combination: index not being used

Поиск
Список
Период
Сортировка
От David Teran
Тема Re: AND OR combination: index not being used
Дата
Msg-id 5989cd23aa4942c871aba9cdcd7c4262@cluster9.com
обсуждение исходный текст
Ответ на Re: AND OR combination: index not being used  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Sebastian Hennebrueder
Дата:
Сообщение: Optimize complex join to use where condition before join
Следующее
От: Sebastian Hennebrueder
Дата:
Сообщение: Re: Optimize complex join to use where condition before