pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Wei Weng <wweng@kencast.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Can you help with this JOIN?
Date: Wed, 29 May 2002 12:37:06 -0400
Message-ID: <24119.1022690226@sss.pgh.pa.us> (raw)
In-Reply-To: <1022688374.26733.5.camel@Monet>
References: <1022688374.26733.5.camel@Monet>

Wei Weng <wweng@kencast.com> writes:
> I have a massive join that takes something like 10 seconds to execute in
> Postgresql 7.2. Can any of gurus here help me improve it?

1. Have you vacuum analyzed these tables lately?  The row count
estimates look suspiciously low.

2. Please provide EXPLAIN ANALYZE output not just EXPLAIN.

			regards, tom lane



view thread (8+ messages)  latest in thread

Message-ID: <24119.1022690226@sss.pgh.pa.us>
Permalink:  ../24119.1022690226@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24119.1022690226@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, wweng@kencast.com
  Subject: Re: Can you help with this JOIN?
  In-Reply-To: <24119.1022690226@sss.pgh.pa.us>

* 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