Database Administration (MOSC)

MOSC Banner

Number of users logged in at a particular time

edited Mar 6, 2013 9:20AM in Database Administration (MOSC) 6 commentsAnswered
I am using the following query to see all the users logged in to the database:

SELECT OSUSER, USERNAME FROM V$SESSION;

The query returns a list of 3 users.

Then, when I run

SELECT COUNT(OSUSER) FROM V$SESSION;

for some reason I get 29.

Can someone please explain to me what is going on?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center