Re: Higher level questions around shared memory stats

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Higher level questions around shared memory stats
Дата
Msg-id 20220330233550.eiwsbearu6xhuqwe@alap3.anarazel.de
обсуждение исходный текст
Ответ на Higher level questions around shared memory stats  (Andres Freund <andres@anarazel.de>)
Ответы Re: Higher level questions around shared memory stats  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hi,

On 2022-03-29 12:17:27 -0700, Andres Freund wrote:
> Separate from the minutia in [1] I'd like to discuss a few questions of more
> general interest. I'll post another question or two later.

4) What to do with the stats_temp_directory GUC / PG_STAT_TMP_DIR define /
   pg_stats_temp directory?

   With shared memory stats patch, the stats system itself doesn't need it
   anymore. But pg_stat_statements also uses PG_STAT_TMP_DIR to store
   pgss_query_texts.stat. That file can be fairly hot, so there's benefit in
   having something like stats_temp_directory.

   I'm inclined to just leave the guc / define / directory around, with a
   note saying that it's just used by extensions?

Greetings,

Andres Freund



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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: POC: GROUP BY optimization
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [Proposal] Fully WAL logged CREATE DATABASE - No Checkpoints