Re: [HACKERS] Re: Let's talk up 6.3

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SARZ
Тема Re: [HACKERS] Re: Let's talk up 6.3
Дата
Msg-id 219F68D65015D011A8E000006F8590C6010A5242@sdexcsrv1.sd.spardat.at
обсуждение исходный текст
Список pgsql-hackers
    >> > Would a rule be that
    >> > if the first attribute of an index is unique, then additional
    >> > attributes are basically useless?
    >>
<< cut some of my nonsense here >>

    David Gould writes:
    >The rule 'if the first attribute of an index is unique, then
additional
    >attributes are basically useless' is exactly correct for all
systems, not
    >just PostgreSQL. It has nothing to do with whether indexes are used
for
    >'orderby'.

The second Ooops in one day, I guess I have to relearn the meaning of
"First think then talk.", Sorry.  (what a day, well at least the sun is
shining here :-)
But to speak in self defense there is still one case where the trailing
columns in this index would help. If only index columns are selected,
the engine could do an index only scan (not in postgresql yet).

Andreas



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

Предыдущее
От: Zeugswetter Andreas SARZ
Дата:
Сообщение: AW: AW: [HACKERS] Re: Let's talk up 6.3
Следующее
От: "Vadim B. Mikheev"
Дата:
Сообщение: Re: [HACKERS] Reminder: Indices are not used