Re: Improve logging when using Huge Pages

Поиск
Список
Период
Сортировка
От Kyotaro Horiguchi
Тема Re: Improve logging when using Huge Pages
Дата
Msg-id 20230323.172546.1916979127198972068.horikyota.ntt@gmail.com
обсуждение исходный текст
Ответ на Re: Improve logging when using Huge Pages  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Improve logging when using Huge Pages  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
At Thu, 23 Mar 2023 07:23:28 +0900, Michael Paquier <michael@paquier.xyz> wrote in 
> On Wed, Mar 22, 2023 at 05:18:28PM -0500, Justin Pryzby wrote:
> > Wow, good point.  I think to make it work we'd need put
> > huge_pages_active into BackendParameters and handle it in
> > save_backend_variables().  If so, that'd be strong argument for using a
> > GUC, which already has all the necessary infrastructure for exposing the
> > server's state.
> 
> I am afraid so, duplicating an existing infrastructure for a need like
> the one of this thread is not really appealing.

Wouldn't storing the value in the shared memory itself work? Though,
that space does become almost dead for the server's lifetime...

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Remove nonmeaningful prefixes in PgStat_* fields
Следующее
От: "Drouvot, Bertrand"
Дата:
Сообщение: Re: [BUG] pg_stat_statements and extended query protocol