Re: [HACKERS] exposing wait events for non-backends (was: Trackingwait event for latches)

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [HACKERS] exposing wait events for non-backends (was: Trackingwait event for latches)
Дата
Msg-id 20170309210336.mzcfyroqmjc27j6q@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [HACKERS] exposing wait events for non-backends (was: Trackingwait event for latches)  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
Hi,

On 2017-03-09 14:30:21 -0500, Peter Eisentraut wrote:
> In practice, I think it's common to do a quick select * from
> pg_stat_activity to determine whether a database instance is in use.

> (You always see your own session, but that's easy to eyeball.)  If we
> add all the various background processes by default, that will make
> things harder, especially if there is no straightforward way to filter
> them out.

A good chunk of those still apply to database attached background
workers (say dropping a database, using it as a template) - so I'm not
really convinced that's an issue.

- Andres



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: [HACKERS] on_dsm_detach() callback and parallel tuplesort BufFile resource management
Следующее
От: Andrew Dunstan
Дата:
Сообщение: [HACKERS] alter enum add value regression