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 20131021220926.GC4987@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Add min and max execute statement time in pg_stat_statement  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
Ответы Re: Add min and max execute statement time in pg_stat_statement
Список pgsql-hackers
Gavin Flower wrote:

> One way it could be done, but even this would consume far too much
> storage and processing power (hence totally impractical), would be
> to 'simply' store a counter for each value found and increment it
> for each occurence...

An histogram?  Sounds like a huge lot of code complexity to me.  Not
sure the gain is enough.

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



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

Предыдущее
От: Piotr Marcinczyk
Дата:
Сообщение: Add \i option to bring in the specified file as a quoted literal
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: [PoC] pgstattuple2: block sampling to reduce physical read