Re: postgresql.conf runtime statistics default

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: postgresql.conf runtime statistics default
Дата
Msg-id 42A83FFA.3030209@archonet.com
обсуждение исходный текст
Ответ на postgresql.conf runtime statistics default  (Yann Michel <yann-postgresql@spline.de>)
Ответы Re: postgresql.conf runtime statistics default  (Yann Michel <yann-postgresql@spline.de>)
Список pgsql-performance
Yann Michel wrote:
>
> 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?

This is administrator statistics (e.g. number of disk blocks read from
this index) not planner statistics. You're right - it would be foolish
to throw away planner stats.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Dennis Bjorklund
Дата:
Сообщение: Re: Query plan changes after pg_dump / pg_restore
Следующее
От: Josh Close
Дата:
Сообщение: Re: [Npgsql-general] index out of range