Re: Is there a command to to display active connections

Поиск
Список
Период
Сортировка
От Oliver Fromme
Тема Re: Is there a command to to display active connections
Дата
Msg-id 200404260720.i3Q7KaxE030841@lurza.secnetix.de
обсуждение исходный текст
Ответ на Is there a command to to display active connections  (John Fabiani <jfabiani@yolo.com>)
Список pgsql-novice
John Fabiani wrote:
 > I attempting to figure out how many connections are open to my
 > database.  I'm asking because I'd like to keep track of the
 > connection pool.

SELECT * FROM pg_stat_activity;

(It's in the documentation.)

Best regards
   Oliver

--
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"File names are infinite in length, where infinity is set to 255 characters."
        -- Peter Collinson, "The Unix File System"

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

Предыдущее
От: "Ramesh Patel"
Дата:
Сообщение:
Следующее
От: "Hari Bhanujan"
Дата:
Сообщение: RE: [NOVICE] Création de BD