pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tyrrill, Ed <tyrrill_ed@emc.com>
Cc: Klint Gore <kg@kgb.une.edu.au>
Cc: pgsql-performance@postgresql.org
Subject: Re: Very slow left outer join
Date: Wed, 30 May 2007 12:59:11 -0400
Message-ID: <5206.1180544351@sss.pgh.pa.us> (raw)
In-Reply-To: <A23190A408F7094FAF446C1538222F7603F98161@avaexch01.avamar.com>
References: <A23190A408F7094FAF446C1538222F7603F97F11@avaexch01.avamar.com>
	<465CD94D319.E8C2KG@129.180.47.120>
	<26149.1180495108@sss.pgh.pa.us>
	<A23190A408F7094FAF446C1538222F7603F98161@avaexch01.avamar.com>

"Tyrrill, Ed" <tyrrill_ed@emc.com> writes:
> I did a vacuum analyze after inserting all the data.  Is there possibly
> a bug in analyze in 8.1.5-6?  I know it says rows=3D436915, but the last
> time the backup_location table has had that little data in it was a
> couple months ago, and analyze has been run many times since then.
> Currently it has over 160 million rows.

Possibly you need a larger statistics target for that table.

			regards, tom lane



view thread (7+ messages)

Message-ID: <5206.1180544351@sss.pgh.pa.us>
Permalink:  ../5206.1180544351@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5206.1180544351@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-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, tyrrill_ed@emc.com, kg@kgb.une.edu.au
  Subject: Re: Very slow left outer join
  In-Reply-To: <5206.1180544351@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