Multiple column index question.

Поиск
Список
Период
Сортировка
От Jan Muszynski
Тема Multiple column index question.
Дата
Msg-id 45B0E224.6782.A59F71D@jan.jancm.org
обсуждение исходный текст
Ответы Re: Multiple column index question.  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-general
If I have an index that's composed of 2 columns:
    Index index1 on tableA (foo,bar)

and I then:
    Select cola, colb from tableA where foo=<value>

Will index1 still be used, or am I looking at a seqscan under all
circumstances in this case?

TIA
-jan m

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

Предыдущее
От: sjarosz@gmail.com
Дата:
Сообщение: Re: Who is Slony Master/Slave + general questions.
Следующее
От: Michael Raven
Дата:
Сообщение: Re: copy row tree