DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: querying for the number of unique logins??

  1. #1
    Join Date
    Apr 2001
    Posts
    11
    Could someone tell me if there's a table that tracks the number of unique database logins? what is the best way to find this information out?

    thanks for any help. Carl
    carl

  2. #2
    Join Date
    Sep 2000
    Posts
    47
    Check in V$SESSION. You can get all logins and their processes being executed.

  3. #3
    Join Date
    Feb 2000
    Location
    New York,U.S.A.
    Posts
    245
    Try this:

    select username,osuser,server,status,count(*)
    from v$session
    where username is not null
    and username not in ('sys','system') and status = 'ACTIVE'
    group by username,osuser,server,status;

  4. #4
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    When you say "Unique Database Logins", what do you mean? How many users are created? How many users are logged in right now? How many users have EVER logged in?
    Jeff Hunter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width