pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Number of connection
2+ messages / 2 participants
[nested] [flat]

* Number of connection
@ 2002-02-13 09:35  Nebojsa Pirocanac <pirke@EUnet.yu>
  0 siblings, 1 reply; 2+ messages in thread

From: Nebojsa Pirocanac @ 2002-02-13 09:35 UTC (permalink / raw)
  To: pgsql-admin

Hi all,
How can I get number of current connections to the database and is there any way to identify connection. For example in Oracle I can get these information from dynamic view V$SESSION.
 
Thanks,
Nebojsa.

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Number of connection
@ 2002-02-13 16:01  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Nebojsa Pirocanac <pirke@EUnet.yu>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2002-02-13 16:01 UTC (permalink / raw)
  To: Nebojsa Pirocanac <pirke@EUnet.yu>; +Cc: pgsql-admin

"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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-02-13 16:01 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-02-13 09:35 Number of connection Nebojsa Pirocanac <pirke@EUnet.yu>
2002-02-13 16:01 ` Tom Lane <tgl@sss.pgh.pa.us>

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