pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: David Teran <david.teran@cluster9.com>
Cc: PgSQL Performance ML <pgsql-performance@postgresql.org>
Subject: Re: another query optimization question
Date: Fri, 30 Jan 2004 10:10:16 -0800 (PST)
Message-ID: <20040130100845.E58632@megazone.bigpanda.com> (raw)
In-Reply-To: <32DEEB93-534E-11D8-9392-000A95A6F0DC@cluster9.com>
References: <32DEEB93-534E-11D8-9392-000A95A6F0DC@cluster9.com>


On Fri, 30 Jan 2004, David Teran wrote:

> select
> sum(job_property_difference(t0.int_value, t1.int_value)) as rank
>    from
>    job_property t0,
>    job_property t1
>    where
>    t0.id_job_profile = 911
>    and t0.id_job_attribute = t1.id_job_attribute
>    and t1.id_job_profile in (select id_job_profile from unemployed)
>    and t1.id_job_profile <> 911;
>
> results in a query plan result:

Can we see explain analyze output for the query, it'll give more
information about actual time and row counts than plain explain.



view thread (12+ messages)  latest in thread

Message-ID: <20040130100845.E58632@megazone.bigpanda.com>
Permalink:  ../20040130100845.E58632@megazone.bigpanda.com/
Also on:    postgresql.org/message-id/20040130100845.E58632@megazone.bigpanda.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: sszabo@megazone.bigpanda.com, david.teran@cluster9.com
  Subject: Re: another query optimization question
  In-Reply-To: <20040130100845.E58632@megazone.bigpanda.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