Re: slow index lookup

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: slow index lookup
Дата
Msg-id 4C21F9280200002500032904@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: slow index lookup  (Anj Adu <fotographs@gmail.com>)
Список pgsql-performance
Anj Adu <fotographs@gmail.com> wrote:

> The combination index works great. Would adding the combination
> index guarantee that the optimizer will choose that index for
> these kind of queries involving the columns in the combination. I
> verified a couple of times and it picked the right index. Just
> wanted to make sure it does that consistently.

It's cost based -- as long as it thinks that approach will be
faster, it will use it.

-Kevin

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

Предыдущее
От: Anj Adu
Дата:
Сообщение: Re: slow index lookup
Следующее
От: Rajesh Kumar Mallah
Дата:
Сообщение: Re: cpu bound postgresql setup. Firstly many thanks for responding. I am concerned because the load averages have increased and users complaining of slowness. I do not change settings frequenly. I was curious if there is any half dead component in th