Skip to Main Content

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, oracle.

Asked: August 02, 2017 - 6:23 am UTC

Last updated: August 02, 2017 - 1:24 pm UTC

Version: 12.1.0

Viewed 1000+ times

You Asked

Hi Team,

I have oracle database with 12c with One Node. Only ASM

Sometime i have seen the load of my DB Server become high. approx 80+ then i just run the inactive session kill and after 5 to 10 Minutes the load become Normal. So, Could you Please let me know Why it happen and How to tune this.

Thanks

and Connor said...

Databases dont just consume CPU for no reason, they only consume because *something* is running.

Now that something is either:

a) you (ie, your applications, your users) actively using the database
b) us (ie, background tasks like calculation of statistics).

In either case, these will be running as database sessions.

So use whatever tools you have at your disposal to monitor which sessions are consuming resources. These tools could be:

- AWR reports
- v$active_session_history
- statspack
- home grown tools
- querying v$session, v$sql, v$sesstat
- auditing etc

Step 1 is to find out *what* and *who* is consuming resources. Step 2 is then to tune them.

But you need to do Step 1 first.

Is this answer out of date? If it is, please let us know via a Comment

More to Explore

Administration

Need more information on Administration? Check out the Administrators guide for the Oracle Database