donderdag 10 juni 2021

Script to Get the Most CPU Consuming Sessions from Oracle Database

Via dba topics by noreply@blogger.com (Shony)
SQL Script This SQL query gives you output of 10 most CPU consuming oracle sessions.Set pages 1000 lines 222 col program form a50 heading "Program" col CPUMins form 99990 heading "CPU in Mins" select rownum as rank, a.* from ( SELECT v.sid, program, v.value / (100 * 60) CPUMins FROM v$statname s , v$sesstat v, v$session sess WHERE s.name = 'CPU used by this session' and sess.sid = v.sid and

New article matched for in your Blogger! rule

Testing Wide Production 2020