Re: postgres 7.4 at 100%

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: postgres 7.4 at 100%
Дата
Msg-id 40E26C2C.9080601@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: postgres 7.4 at 100%  (Chris Cheston <ccheston@gmail.com>)
Ответы Re: postgres 7.4 at 100%  (Chris Cheston <ccheston@gmail.com>)
Список pgsql-performance
> Why would I or would I not create multiple indexes in a table? I
> created another index in the same table an it's improved performance
> even more.

You create indexes when you need indexes.  Indexes are most helpful when
they match the WHERE clause of your selects.

So, if you commonly do one query that selects on one column, and another
query that selects on two other columns - then create one index on the
first column and another index over the second two columns.

Chris

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

Предыдущее
От: Chris Cheston
Дата:
Сообщение: Re: postgres 7.4 at 100%
Следующее
От: Chris Cheston
Дата:
Сообщение: Re: postgres 7.4 at 100%