Re: Very slow left outer join

From: "Tyrrill, Ed" <tyrrill_ed(at)emc(dot)com>
To: "Michael Glaesemann" <grzm(at)seespotcode(dot)net>
Cc: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Very slow left outer join
Date: 2007-05-30 16:22:46
Message-ID: A23190A408F7094FAF446C1538222F7603F9811F@avaexch01.avamar.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


Michael Glaesemann <grzm(at)seespotcode(dot)net> writes:
> Off the cuff, when was the last time you vacuumed or ran ANALYZE?
> Your row estimates look off by a couple orders of magnitude. With up-
> to-date statistics the planner might do a better job.
>
> As for any other improvements, I'll leave that to those that know
> more than I. :)
>
> Michael Glaesemann
> grzm seespotcode net

The script that imports data into these tables runs a vacuum analyze at
the end so there has been no new data added to the tables since the last
time vacuum analyze was run.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tyrrill, Ed 2007-05-30 16:55:10 Re: Very slow left outer join
Previous Message mark 2007-05-30 15:57:34 Re: setting up raid10 with more than 4 drives