pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Broersma Jr <rabroersma@yahoo.com>
To: Aaron Bono <postgresql@aranya.com>
To: Exner, Peter <Exner@his.de>
Cc: Richard Broersma Jr <rabroersma@yahoo.com>
Cc: SQL Postgresql List <pgsql-sql@postgresql.org>
Subject: Re: How to find entries missing in 2nd table?
Date: Thu, 13 Jul 2006 09:16:51 -0700 (PDT)
Message-ID: <20060713161651.39567.qmail@web31809.mail.mud.yahoo.com> (raw)
In-Reply-To: <bf05e51c0607130846ufdb8a31n5757f67361447c2b@mail.gmail.com>

> > SELECT controller_id FROM control
> > WHERE controller_id NOT IN
> > (SELECT DISTINCT controller_id FROM datapack);
> The DISTINCT is not necessary.  I have heard with Oracle that DISTINCT is a
> huge performance problem.  Is that true on PostgreSQL also?



view thread (13+ messages)  latest in thread

Message-ID: <20060713161651.39567.qmail@web31809.mail.mud.yahoo.com>
Permalink:  ../20060713161651.39567.qmail@web31809.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/20060713161651.39567.qmail@web31809.mail.mud.yahoo.com

 · 

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-sql@postgresql.org
  Cc: rabroersma@yahoo.com, postgresql@aranya.com, Exner@his.de
  Subject: Re: How to find entries missing in 2nd table?
  In-Reply-To: <20060713161651.39567.qmail@web31809.mail.mud.yahoo.com>

* 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