Re: select distinct and index usage - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: select distinct and index usage
Date
Msg-id 20080408021658.GJ5095@alvh.no-ip.org
Whole thread Raw
In response to Re: select distinct and index usage  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: select distinct and index usage  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane escribió:

> What I think you'll find, though, is that once you do force an indexscan
> to be picked it'll be slower.  Full-table index scans are typically
> worse than seqscan+sort, unintuitive though that may sound.

Hmm, should we switch the CLUSTER code to do that?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: select distinct and index usage
Next
From: Tom Lane
Date:
Subject: Re: select distinct and index usage