Обсуждение: Sequence scan if "OR Condition" in where statement

Поиск
Список
Период
Сортировка

Sequence scan if "OR Condition" in where statement

От
Prashant Bharucha
Дата:
Hello All

Could you please help me , index is not using if have "OR condition in where statement" ?

Always have sequence scan.

Thanks
Prashant

Re: Sequence scan if "OR Condition" in where statement

От
"Albe Laurenz"
Дата:
Prashant Bharucha wrote:
> Could you please help me , index is not using if have "OR condition in
where statement" ?
>
> Always have sequence scan.

You need to provide more details, see
http://wiki.postgresql.org/wiki/SlowQueryQuestions
to get an idea.

Yours,
Laurenz Albe