Database Administration (MOSC)

MOSC Banner

How to identify top 10 user sessions consuming CPU time in the database

edited Mar 26, 2014 7:44AM in Database Administration (MOSC) 2 comments

There is a famous command on UNIX and LINUX systems to list the top consumers of cpu time on the system called 'top'.

If you have the requirement to see which session in the database are the top cpu time consumers, you can use the attached SQL script to find out.

This script has been developed against 10gR2, but it works as well in 11gR2.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center