Avoiding a seq scan on a table.

Поиск
Список
Период
Сортировка
От LWATCDR
Тема Avoiding a seq scan on a table.
Дата
Msg-id 8c38cea40801140821x3ced43cn1dc2e4016867fe8d@mail.gmail.com
обсуждение исходный текст
Список pgsql-novice
I am trying to create and index that will prevent a seq scan table.
The querey that is causing the seq scan is this SELECT COUNT(*) FROM
issuetracking where (issue_target='david' OR manager='david') AND
date_closed=null;
Any ideas on what
Any suggestions on what index I can add that will make this not a seq scan?

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

Предыдущее
От: Mike Dorin
Дата:
Сообщение: Re: distributed databases?
Следующее
От: LWATCDR
Дата:
Сообщение: Re: Avoiding a seq scan on a table.