postgresql.conf runtime statistics default

Поиск
Список
Период
Сортировка
От Yann Michel
Тема postgresql.conf runtime statistics default
Дата
Msg-id 20050609100852.GA16538@zoom.spline.inf.fu-berlin.de
обсуждение исходный текст
Ответы Re: postgresql.conf runtime statistics default
Список pgsql-performance
Hi,

after having migrated a 7.2 pg-database to 7.4 while upgrdaing from
debian woody to debian sarge there are some more conf-Parameters to
evaluate.
We are running a small but continuously growing datawarehouse which has
recently around 40 million fact entries.

To my question: I found the parameter "stats_reset_on_server_start"
which is set to true by default. Why did you choose this (and not false)
and what are the impacts of changeing it to false? I mean, as long as I
understood it, each query or statements generates some statistic data
which is used by the optimizer (or anything equal) later on. So in my
oppinion, wouldn't it be better so set this parameter to false and to
enable a kind of a "startup reset_stats" option?

Regards,
Yann

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

Предыдущее
От: Jona
Дата:
Сообщение: Re: Query plan changes after pg_dump / pg_restore
Следующее
От: Dennis Bjorklund
Дата:
Сообщение: Re: Query plan changes after pg_dump / pg_restore