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

Thread: How to identify concurrent sessions...

  1. #1
    Join Date
    Aug 2000
    Location
    Chicago IL
    Posts
    586

    How to identify concurrent sessions...

    Hello. I have been asked to produce a report of a total number of concurrent sessions in a given database..Initally it was

    select count(*) into sessions from v$session where username is not null;

    but that shows total number of sessions..
    any ideas?

    thx
    "High Salaries = Happiness = Project Success."

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    deifn what you mean by concurrent sessions then. the count(*) from v$session is the number of sessions in the database as you say - are they not concurrent?

  3. #3
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    add status = 'ACTIVE' ?

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