pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Manfred Koizar <mkoi-pg@aon.at>
Cc: PostgreSQL Performance <pgsql-performance@postgresql.org>
Subject: Re: Guesses on what this NestLoop is for?
Date: Tue, 28 Oct 2003 09:36:02 -0800
Message-ID: <200310280936.02167.josh@agliodbs.com> (raw)
In-Reply-To: <3nhspvkbsarcieub1neodds7pr9h6hbtna@email.aon.at>
References: <200310271532.41974.josh@agliodbs.com>
	<3nhspvkbsarcieub1neodds7pr9h6hbtna@email.aon.at>

Manfred,

> Sorry, I have no answer to your question, but may I ask whether you
> really want to get presumably 106 output rows for each event with
> status 1?
>
> Or did you mean
> 	 WHERE (events.status = 1 OR events.status = 11) AND ...

Thanks!   I spent so much time tinkering around with the exists clauses, I 
completely missed that.   Hopefully I'll get this client to upgrade to 7.4 so 
that the explains will be more readable ....

-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (3+ messages)

Message-ID: <200310280936.02167.josh@agliodbs.com>
Permalink:  ../200310280936.02167.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200310280936.02167.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, mkoi-pg@aon.at
  Subject: Re: Guesses on what this NestLoop is for?
  In-Reply-To: <200310280936.02167.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