Re: [PATCH] Add features to pg_stat_statements

Поиск
Список
Период
Сортировка
От Katsuragi Yuta
Тема Re: [PATCH] Add features to pg_stat_statements
Дата
Msg-id 193879cdb9f6e14060bde2172f8399c9@oss.nttdata.com
обсуждение исходный текст
Ответ на Re: [PATCH] Add features to pg_stat_statements  (Julien Rouhaud <rjuju123@gmail.com>)
Ответы Re: [PATCH] Add features to pg_stat_statements
Список pgsql-hackers
On 2020-09-18 18:49, Julien Rouhaud wrote:
> Did you consider also adding the cumulated number of
> evicted entries?  This could be useful to know how to configure
> pg_stat_statements.max.

Thank you for your comments!
I overlooked the cumulated number of evicted entries.
This statistic looks important. But, I am not sure
if I should add this statistic to a view.
This is because I am not sure how to utilize the cumulated
number of evicted entries for configuring pg_stat_statements.max.

Not only providing a view but also logging evictions
along with the number of evicted entries might be a choice.
This idea is from legrand legrand [1].

[1] 
https://www.postgresql.org/message-id/1600500942767-0.post%40n3.nabble.com

Regards,
Katsuragi Yuta



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

Предыдущее
От: "tsunakawa.takay@fujitsu.com"
Дата:
Сообщение: RE: [Patch] Optimize dropping of relation buffers using dlist
Следующее
От: Julien Rouhaud
Дата:
Сообщение: Re: [PATCH] Add features to pg_stat_statements