Re: why sequential scan is used on indexed column ???

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: why sequential scan is used on indexed column ???
Дата
Msg-id 20080614145944.GA9923@tux
обсуждение исходный текст
Ответ на why sequential scan is used on indexed column ???  (Julius Tuskenis <julius.tuskenis@gmail.com>)
Ответы Re: why sequential scan is used on indexed column ???  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
Julius Tuskenis <julius.tuskenis@gmail.com> schrieb:

> Hello.
>
> I have a question concerning performance. One of my queries take a long
> to execute. I tried to do "explain analyse" and I see that the
> sequential scan is being used, although I have indexes set on columns
> that are used in joins. The question is - WHY, and how to change that
> behavior???

Try to create an index on apsilankymai.sas_id



Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."   (unknown)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°

В списке pgsql-general по дате отправления:

Предыдущее
От: Julius Tuskenis
Дата:
Сообщение: why sequential scan is used on indexed column ???
Следующее
От: Jorge Godoy
Дата:
Сообщение: Re: Source RPM for 8.3.3?