Re: Number of connection

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Nebojsa Pirocanac" <pirke(at)EUnet(dot)yu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Number of connection
Date: 2002-02-13 16:01:52
Message-ID: 28902.1013616112@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Nebojsa Pirocanac" <pirke(at)EUnet(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Osamu Ninagi 2002-02-13 17:51:37 About Redo
Previous Message sreedhar 2002-02-13 11:23:33 [ADMIN] Problem while connecting pgAdmin II v1.2