Re: DISTINCT Question

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Y Sidhu <ysidhu(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: DISTINCT Question
Date: 2007-05-08 19:57:19
Message-ID: 4640D61F.9040503@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Y Sidhu wrote:
> Does using DISTINCT in a query force PG to abandon any index search it
> might have embarked upon?

Depends on the where clause.

>
> --
> Yudhvir Singh Sidhu
> 408 375 3134 cell

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Daniel Griscom 2007-05-08 20:27:10 Throttling PostgreSQL's CPU usage
Previous Message Steinar H. Gunderson 2007-05-08 19:55:51 Re: DISTINCT Question