Avoiding a seq scan on a table. - Mailing list pgsql-novice

From LWATCDR
Subject Avoiding a seq scan on a table.
Date
Msg-id 8c38cea40801140821x3ced43cn1dc2e4016867fe8d@mail.gmail.com
Whole thread Raw
List 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 by date:

Previous
From: Mike Dorin
Date:
Subject: Re: distributed databases?
Next
From: LWATCDR
Date:
Subject: Re: Avoiding a seq scan on a table.