Re: How to force an Index ?

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: How to force an Index ?
Дата
Msg-id 20030827122446.GC25010@wolff.to
обсуждение исходный текст
Ответ на How to force an Index ?  (Rhaoni Chiu Pereira <rhaoni@sistemica.info>)
Список pgsql-admin
On Tue, Aug 26, 2003 at 17:48:38 -0300,
  Rhaoni Chiu Pereira <rhaoni@sistemica.info> wrote:
> when I need for just one query a especific index to be used the only way is to
> raise the costs ?

There is no way to say to use a specific index. You can turn off some plans
(and raise the cost of sequential scans, since that is sometimes the only
way to do something) or you can adjust the relative costs of such things
as cpu time and disk i/o. Making sure you have done an analyze and that
you have detailed enough statistics for the planner is also important.

P.S. You should keep replies on the list.

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

Предыдущее
От: Andrew Sullivan
Дата:
Сообщение: Re: postgresql and replication
Следующее
От: Hornyak Laszlo
Дата:
Сообщение: Re: postgres hab modification without restarting