Creating indexes?

Поиск
Список
Период
Сортировка
От Bjørn T Johansen
Тема Creating indexes?
Дата
Msg-id 20100422233651.10d5d2b9@pennywise.havleik.no
обсуждение исходный текст
Ответы Re: Creating indexes?  (Greg Smith <greg@2ndquadrant.com>)
Re: Creating indexes?  (Martin Gainty <mgainty@hotmail.com>)
Re: Creating indexes?  (Adrian von Bidder <avbidder@fortytwo.ch>)
Список pgsql-general
What is the best approach for PostgreSQL when creating indexes? E.g I have two fields in a table that I want indexed,
isit best to create one index 
combining the two fields or creating one for each field? If I create one for each field, will the search when using
bothfields be slower that a 
combined index?


Regards,

BTJ

--
-----------------------------------------------------------------------------------------------
Bjørn T Johansen

btj@havleik.no
-----------------------------------------------------------------------------------------------
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
-----------------------------------------------------------------------------------------------

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

Предыдущее
От: Jonathan Vanasco
Дата:
Сообщение: Re: trying to write a bit of logic as one query, can't seem to do it under 2
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Creating indexes?