Re: Seq scan of table? - Mailing list pgsql-general

From Tom Lane
Subject Re: Seq scan of table?
Date
Msg-id 9565.1062744291@sss.pgh.pa.us
Whole thread Raw
In response to Seq scan of table?  ("Bjorn T Johansen" <btj@havleik.no>)
Responses Re: Seq scan of table?
List pgsql-general
"Bjorn T Johansen" <btj@havleik.no> writes:
> I am trying to tune my database and I discovered one select that does a
> seq scan on a table but I can't see why... All the join fields are indexed
> and I am returning just one record, so no sort is done.
> Does it just pick seq scan for the heck of it or is it a reason?

Who's to say, when you gave us no details?  Show us the table schemas,
the exact query, and EXPLAIN ANALYZE output, and you might get useful
responses.

(btw, pgsql-performance would be a more appropriate list for this issue
than pgsql-general.)

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: SQL Error: pqReadData() -- read() failed: errno=0 No error
Next
From: "Bjorn T Johansen"
Date:
Subject: Re: RE : Seq scan of table?