Re: Add min and max execute statement time in pg_stat_statement

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Add min and max execute statement time in pg_stat_statement
Дата
Msg-id 20131024035216.GA6832@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Add min and max execute statement time in pg_stat_statement  (Peter Geoghegan <pg@heroku.com>)
Ответы Re: Add min and max execute statement time in pg_stat_statement  (Peter Geoghegan <pg@heroku.com>)
Список pgsql-hackers
Peter Geoghegan escribió:

> I am interested in making it store richer statistics,
> provided we're very careful about the costs. Every time those counters
> are incremented, a spinlock is held.

Hmm, now if we had portable atomic addition, so that we could spare the
spinlock ...

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: RLS syntax
Следующее
От: Sameer Kumar
Дата:
Сообщение: Re: Re: Using indexes for ORDER BY and PARTITION BY clause in windowing functions