Re: Estimating HugePages Requirements?

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: Estimating HugePages Requirements?
Дата
Msg-id 20220328173503.GA137769@nathanxps13
обсуждение исходный текст
Ответ на Re: Estimating HugePages Requirements?  (Nathan Bossart <nathandbossart@gmail.com>)
Список pgsql-hackers
On Thu, Mar 24, 2022 at 01:31:08PM -0700, Nathan Bossart wrote:
> A couple of other options to consider:
> 
> 1) Always set log_min_messages to WARNING/ERROR/FATAL for 'postgres -C'.
> We might need some special logic for handling the case where the user is
> inspecting the log_min_messages parameter.  With this approach, you'd
> probably never get extra output unless something was wrong (e.g., database
> already running when inspecting a runtime-computed GUC).  Also, this would
> silence any extra output that you might see today with non-runtime-computed
> GUCs.
> 
> 2) Add some way to skip just the shutdown message (e.g., a variable set
> when output_config_variable is true).  With this approach, you wouldn't get
> extra output by default, but you still might if log_min_messages is set to
> something like DEBUG3.  This wouldn't impact any extra output that you see
> today with non-runtime-computed GUCs.

I've attached a first attempt at option 1.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com

Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: multithreaded zstd backup compression for client and server
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Extensible Rmgr for Table AMs