Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> the number of concurrent queries
Hi.
I'm trying to get a feel of the number of the queries executed at the same time against a database. I have been using the following script (actually this is a part of a script)
Select a.type, count(1) col1
from v$session a,
v$process b
where
a.paddr=b.addr
and a.status like 'ACTIVE%' and a.type <> 'BACKGROUND' and a.osuser <> 'oracle'
I want to see only ACTIVE sessions, not-background and not executed by oracle. Does anyone see anything wrong with that?
thanks
Gene
![]() |
![]() |