Re: Add tracking of backend memory allocated to pg_stat_activity

Поиск
Список
Период
Сортировка
От Reid Thompson
Тема Re: Add tracking of backend memory allocated to pg_stat_activity
Дата
Msg-id 06b4922193b80776a31e08a3809f2414b0d4bf90.camel@crunchydata.com
обсуждение исходный текст
Ответ на Re: Add tracking of backend memory allocated to pg_stat_activity  (Andres Freund <andres@anarazel.de>)
Ответы Re: Add tracking of backend memory allocated to pg_stat_activity  (Reid Thompson <reid.thompson@crunchydata.com>)
Re: Add tracking of backend memory allocated to pg_stat_activity  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Code rebased to current master.
Updated to incorporate additional recommendations from the the list
   - add units to variables in view
   - remove 'backend_' prefix from variables/functions
   - update documentation
   - add functional test for allocated_bytes
   - refactor allocation reporting to reduce number of functions and
     branches/reduce performance hit
   - zero allocated bytes after fork to avoid double counting postmaster allocations




--
Reid Thompson
Senior Software Engineer
Crunchy Data, Inc.

reid.thompson@crunchydata.com
www.crunchydata.com


Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Removing another gen_node_support.pl special case
Следующее
От: Reid Thompson
Дата:
Сообщение: Re: Add tracking of backend memory allocated to pg_stat_activity