Re: Slow Query- Bad Row Estimate

Поиск
Список
Период
Сортировка
От Ozer, Pam
Тема Re: Slow Query- Bad Row Estimate
Дата
Msg-id 216FFB77CBFAEE4B8EE4DF0A939FF1D101835B@mail-001.corp.automotive.com
обсуждение исходный текст
Ответ на Re: Slow Query- Bad Row Estimate  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Its 8.4.  On the column stats_target=-1 before I changed it.  AutoVacuum
is set to on.  I actually did a full analyze of the database and then
ran it again.  So what am I missing?

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Friday, October 29, 2010 3:03 PM
To: Ozer, Pam
Cc: Josh Berkus; pgsql-performance@postgresql.org
Subject: Re: [PERFORM] Slow Query- Bad Row Estimate

"Ozer, Pam" <pozer@automotive.com> writes:
> Yes.  The default statistics target was at 1000.  So that would be
what the column was using correct?

But you evidently didn't have stats.  Perhaps you have autovacuum turned
off?  What PG version is this anyway?

            regards, tom lane

В списке pgsql-performance по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Slow Query- Bad Row Estimate
Следующее
От: Marti Raudsepp
Дата:
Сообщение: Defaulting wal_sync_method to fdatasync on Linux for 9.1?