Skip site navigation (1) Skip section navigation (2)

Avoiding a seq scan on a table.

From: LWATCDR <lwatcdr(at)gmail(dot)com>
To: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Avoiding a seq scan on a table.
Date: 2008-01-14 16:21:37
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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
Any ideas on what
Any suggestions on what index I can add that will make this not a seq scan?


pgsql-novice by date

Next:From: LWATCDRDate: 2008-01-14 16:45:53
Subject: Re: Avoiding a seq scan on a table.
Previous:From: Mike DorinDate: 2008-01-13 04:06:45
Subject: Re: distributed databases?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group