Drop statistics?

Поиск
Список
Период
Сортировка
От David Kerr
Тема Drop statistics?
Дата
Msg-id 20120622170755.GB93663@mr-paradox.net
обсуждение исходный текст
Ответы Re: Drop statistics?
Список pgsql-performance
I'm trying to work through a root cause on a performance problem. I'd like to
be able to "show" that a problem was fixed by analyzing the table.

what i've done is
set default_statistics_target=1
analyze <Table>

That gets rid of most of the rows in pg_stats, but i'm still getting decent performance.

It's possible that the existing stats were just not optimal, and i won't be able to get that back.

But I just want to verify that what i've done is the only real option that I have? am i missing anything
else that I could try?

(I'm on PG9.1)

Thanks.

Dave

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Why is a hash join being used?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Drop statistics?