Re: Very slow left outer join

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Tyrrill, Ed" <tyrrill_ed(at)emc(dot)com>
Cc: "Klint Gore" <kg(at)kgb(dot)une(dot)edu(dot)au>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Very slow left outer join
Date: 2007-05-30 16:59:11
Message-ID: 5206.1180544351@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Tyrrill, Ed" <tyrrill_ed(at)emc(dot)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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Dimitri 2007-05-30 18:19:56 Re: Bad RAID1 read performance
Previous Message Tyrrill, Ed 2007-05-30 16:55:10 Re: Very slow left outer join