Re: auto_explain WAS: RFC: Timing Events

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: auto_explain WAS: RFC: Timing Events
Дата
Msg-id 20121122130327.GB4316@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: auto_explain WAS: RFC: Timing Events  (Greg Smith <greg@2ndQuadrant.com>)
Список pgsql-hackers
Greg Smith escribió:

> If I could just turn off logging just during those
> periods--basically, throwing them away only when some output rate
> throttled component hit its limit--I could still find them in the
> data collected the rest of the time.  There are some types of
> problems that also only occur under peak load that this idea would
> miss, but you'd still be likely to get *some* of them,
> statistically.

Uhm, what if you had a simple script that changed postgresql.conf and
SIGHUP'ed postmaster?  You could have it turn logging on and off
depending on predefined system load watermarks.

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



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

Предыдущее
От: Amit kapila
Дата:
Сообщение: Re: Proposal for Allow postgresql.conf values to be changed via SQL
Следующее
От: Boszormenyi Zoltan
Дата:
Сообщение: Re: PQconninfo function for libpq