2026-03-12 20:23:15

This commit is contained in:
root
2026-03-12 21:23:47 +01:00
parent eab4b36eca
commit 93039b8489
3332 changed files with 699614 additions and 0 deletions

View File

@@ -0,0 +1,77 @@
with
sci as
( select
distinct
inst_id,
sid,
serial#,
client_charset,
client_driver
from
gv$session_connect_info
)
select
sci.client_charset,
sci.client_driver,
ses.program,
ses.machine,
count(*) counted
from
sci
inner join gv$session ses
on ( sci.inst_id = ses.inst_id
and sci.sid = ses.sid
and sci.serial# = ses.serial#
)
where
ses.type != 'BACKGROUND'
group by
sci.client_charset,
sci.client_driver,
ses.program,
ses.machine
order by
sci.client_charset,
sci.client_driver,
ses.program,
ses.machine
;
with
sci as
( select
distinct
inst_id,
sid,
serial#,
client_oci_library
from
gv$session_connect_info
)
select
sci.client_oci_library,
ses.program,
ses.machine,
count(*) counted
from
sci
join gv$session ses
on ( sci.inst_id = ses.inst_id
and sci.sid = ses.sid
and sci.serial# = ses.serial#
)
where
ses.type != 'BACKGROUND'
group by
sci.client_oci_library,
ses.program,
ses.machine
order by
sci.client_oci_library,
ses.program,
ses.machine
;