Re: 500x speed-down: Wrong statistics!

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alessandro Baretta <a(dot)baretta(at)barettadeit(dot)com>
Cc: Matteo Beccati <php(at)beccati(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: 500x speed-down: Wrong statistics!
Date: 2006-01-10 15:22:59
Message-ID: 29702.1136906579@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Alessandro Baretta <a(dot)baretta(at)barettadeit(dot)com> writes:
> I have no clue as to how or why the statistics were wrong
> yesterday--as I vacuum-analyzed continuously out of lack of any better
> idea--and I was stupid enough to re-timestamp everything before
> selecting from pg_stats.

Too bad. I would be interested to find out how, if the stats were
up-to-date, the thing was still getting the row estimate so wrong.
If you manage to get the database back into its prior state please
do send along the pg_stats info.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Andrea Arcangeli 2006-01-10 15:27:20 Re: NOT LIKE much faster than LIKE?
Previous Message Robert Creager 2006-01-10 15:17:05 Re: Index isn't used during a join.