pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: Y Sidhu <ysidhu@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: DISTINCT Question
Date: Tue, 8 May 2007 21:55:51 +0200
Message-ID: <20070508195551.GA7552@uio.no> (raw)
In-Reply-To: <b09064f30705081252i27df3236hb12c13b923d0f45f@mail.gmail.com>
References: <b09064f30705081252i27df3236hb12c13b923d0f45f@mail.gmail.com>

On Tue, May 08, 2007 at 12:52:35PM -0700, Y Sidhu wrote:
> Does using DISTINCT in a query force PG to abandon any index search it might
> have embarked upon?

No.

If you need help with a specific query, please post it, along with your table
definitions and EXPLAIN ANALYZE output.

/* Steinar */
-- 
Homepage: http://www.sesse.net/



view thread (4+ messages)  latest in thread

Message-ID: <20070508195551.GA7552@uio.no>
Permalink:  ../20070508195551.GA7552@uio.no/
Also on:    postgresql.org/message-id/20070508195551.GA7552@uio.no

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: sgunderson@bigfoot.com, ysidhu@gmail.com
  Subject: Re: DISTINCT Question
  In-Reply-To: <20070508195551.GA7552@uio.no>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox