index on more-than-one columns?

Поиск
Список
Период
Сортировка
От Engard Ferenc
Тема index on more-than-one columns?
Дата
Msg-id Pine.LNX.4.02.9908141646590.312-100000@domesticus.sote.hu
обсуждение исходный текст
Ответы Re: [SQL] index on more-than-one columns?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Hi all,

Is there any advantage to use index on more columns against to use
more separate indexes, e.g. creating index on t1 (a,b) instead of
index on t1 (a) plus index on t1 (b)? Let's suppose that the queries
include all sorts of combinations.

Thx:
Circum
__  @
/  \    _   _                                           Engard Ferenc
l    | ( \ /  | | (\/)                      mailto:s-fery@kkt.sote.hu
\__/ | |   \_ \_/ I  I                    http://pons.sote.hu/~s-fery




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

Предыдущее
От: Herouth Maoz
Дата:
Сообщение: RE: [SQL] datediff function
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] index on more-than-one columns?