Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Number of DB connections

Re: Number of DB connections

From: TurkBear <johng_at_mm.com>
Date: Tue, 14 Jul 1998 19:18:07 GMT
Message-ID: <35abae28.7978742@news2.mm.com>


"Becky Innocent" <becky.innocent_at_platinum.com> wrote:

>Any idea how (which statement to use) to get the number of current
>connections to a database?
>
>Thanks a bunch.
>
>

From SqlPlus you could do:

select count(username) from sys.v_$session where type = 'USER' and username is not null;

Hope it helps.... Received on Tue Jul 14 1998 - 14:18:07 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US