pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Quick question
Date: Mon, 8 Sep 2003 20:02:18 -0700
Message-ID: <200309082002.18830.josh@agliodbs.com> (raw)

Tom,

Back in the 7.0 days, 

WHERE EXISTS (SELECT * FROM a WHERE condition)

was significantly slower on broad tables than

WHERE EXISTS (SELECT small_col FROM a WHERE condition)

Is this still true, or something that's been fixed in the last 3 versions?  
Joe Celko is making fun of me because Oracle doesn't have this performance 
issue.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (2+ messages)  latest in thread

Message-ID: <200309082002.18830.josh@agliodbs.com>
Permalink:  ../200309082002.18830.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200309082002.18830.josh@agliodbs.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, tgl@sss.pgh.pa.us
  Subject: Re: Quick question
  In-Reply-To: <200309082002.18830.josh@agliodbs.com>
  References: <200309082002.18830.josh@agliodbs.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