Files
db_report/sql/35b_cursors_count.sql
2025-04-18 20:05:19 +02:00

8 lines
281 B
SQL

prompt <h2>Curseurs par Session (sans les users SYS, SYSTEM, SYSMAN)</h2>
select c.sid, s.username, count(*) open_cursors
from gv$open_cursor c, gv$session s
where s.sid = c.sid
and s.username is not null and s.username not like 'SYS%'
group by c.sid, s.username
;