Re: change logging defaults

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: change logging defaults
Дата
Msg-id 427251.1623776605@sss.pgh.pa.us
обсуждение исходный текст
Ответ на change logging defaults  (Justin Pryzby <pryzby@telsasoft.com>)
Список pgsql-hackers
Justin Pryzby <pryzby@telsasoft.com> writes:
> I propose to change some defaults:
> log_autovacuum_min_duration = 0
> log_checkpoints = on
> log_lock_waits = on (and log_recovery_conflict_waits too?)
> log_temp_files = 128kB

Why?

Based on reports that I see, some quite large percentage of Postgres
DBAs never look at the postmaster log at all.  So making the log
bulkier isn't something that will be useful to them.  People who do
want these reports are certainly capable of turning them on.

> Note that pg_regress does this:

What we find useful for testing seems to me to be nearly
unrelated to production needs.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: a path towards replacing GEQO with something better
Следующее
От: Robert Haas
Дата:
Сообщение: disfavoring unparameterized nested loops