pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: pgsql-performance@postgresql.org
Subject: Re: zero performance on query
Date: Wed, 26 Oct 2005 17:20:47 +0200
Message-ID: <20051026152047.GA15377@uio.no> (raw)
In-Reply-To: <6EE64EF3AB31D5448D0007DD34EEB3417DD6AF@Herge.rcsinc.local>
References: <6EE64EF3AB31D5448D0007DD34EEB3417DD6AF@Herge.rcsinc.local>

On Wed, Oct 26, 2005 at 08:05:21AM -0400, Merlin Moncure wrote:
> select count(*) from fotos f where not exists (select archivo from archivos a where a.archivo = f.archivo) 

This was an optimization before 7.4, but probably isn't anymore.

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



view thread (5+ messages)

Message-ID: <20051026152047.GA15377@uio.no>
Permalink:  ../20051026152047.GA15377@uio.no/
Also on:    postgresql.org/message-id/20051026152047.GA15377@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
  Subject: Re: zero performance on query
  In-Reply-To: <20051026152047.GA15377@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