pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nebojsa Pirocanac <pirke@EUnet.yu>
Cc: pgsql-admin@postgresql.org
Subject: Re: Number of connection
Date: Wed, 13 Feb 2002 11:01:52 -0500
Message-ID: <28902.1013616112@sss.pgh.pa.us> (raw)
In-Reply-To: <005801c1b476$befd3390$4402f0d5@zmija>
References: <005801c1b476$befd3390$4402f0d5@zmija>

"Nebojsa Pirocanac" <pirke@EUnet.yu> writes:
> How can I get number of current connections to the database and is there an=
> y way to identify connection. For example in Oracle I can get these informa=
> tion from dynamic view V$SESSION.

In 7.2, yes.  See
http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/monitoring.html
and read about pg_stat_activity.

			regards, tom lane



view thread (2+ messages)

Message-ID: <28902.1013616112@sss.pgh.pa.us>
Permalink:  ../28902.1013616112@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28902.1013616112@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pirke@EUnet.yu
  Subject: Re: Number of connection
  In-Reply-To: <28902.1013616112@sss.pgh.pa.us>
  References: <005801c1b476$befd3390$4402f0d5@zmija> <28902.1013616112@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox