| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера