Re: Anyway to know which users are connected to postgres?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Anyway to know which users are connected to postgres?
Дата
Msg-id 19749.1011047431@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Anyway to know which users are connected to postgres?  (Elein <elein@nextbus.com>)
Список pgsql-general
Elein <elein@nextbus.com> writes:
>> In 7.2 there is a system view pg_stat_activity.

> This is very nice.  I can't ever see the current query, however,
> even as postgres.  Is this column just to tease us?  I can
> see it could be a security issue.

You need to turn on query stats.  See
http://developer.postgresql.org/docs/postgres/monitoring-stats.html

            regards, tom lane

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

Предыдущее
От: Steve Crawford
Дата:
Сообщение: Re: Very large database
Следующее
От: "Jeffrey W. Baker"
Дата:
Сообщение: 7.2b4: faster to dump and reload than to vacuum full