Re: Query plan changes after pg_dump / pg_restore

Поиск
Список
Период
Сортировка
От Dennis Bjorklund
Тема Re: Query plan changes after pg_dump / pg_restore
Дата
Msg-id Pine.LNX.4.44.0506091244490.24742-100000@zigo.dhs.org
обсуждение исходный текст
Ответ на Re: Query plan changes after pg_dump / pg_restore  (Jona <jonanews@oismail.com>)
Ответы Re: Query plan changes after pg_dump / pg_restore  (Jona <jonanews@oismail.com>)
Список pgsql-performance
On Thu, 9 Jun 2005, Jona wrote:

> It's the same (physical) server as well as the same PostGreSQL daemon,
> so yes.

The only thing that can differ then is the statistics collected and the
amount of dead space in tables and indexes (but since you both reindex and
run vacuum full that should not be it).

So comparing the statistics in the system tables is the only thing I can
think of that might bring some light on the issue. Maybe someone else have
some ideas.

And as KL said, the effective_cache_size looked like it was way to small.
With that setting bigger then pg should select index scans more often. It
doesn't explain why the databases behave like they do now, but it might
make pg select the same plan nevertheless.

--
/Dennis Björklund


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

Предыдущее
От: Yann Michel
Дата:
Сообщение: postgresql.conf runtime statistics default
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: postgresql.conf runtime statistics default