Sequence Scan vs. Index scan - Mailing list pgsql-performance

From Fernando Lujan
Subject Sequence Scan vs. Index scan
Date
Msg-id 44204107.3040708@mandic.com.br
Whole thread Raw
Responses Re: Sequence Scan vs. Index scan
List pgsql-performance
Hi guys,

I'm trying to figure out when Sequence Scan is better than Index Scan. I
just want to know this because I disabled the sequence scan in
postgresql and receive a better result. :)

Two tables.

Table 1 (1 million rows )
-----------
id
text
table2_id

Table 2 (300 thousand rows)
----------
id
text 2

When I join these two tables I have a sequence_scan. :(

Thanks in advance.

Fernando Lujan

pgsql-performance by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: Best OS & Configuration for Dual Xeon w/4GB &
Next
From: "Steinar H. Gunderson"
Date:
Subject: Re: Sequence Scan vs. Index scan