Home > Ask the Oracle Database / Applications Experts > Oracle performance tuning Questions & Answers > SMON process consuming 100% CPU
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

SMON process consuming 100% CPU

Phillip Bracken EXPERT RESPONSE FROM: Phillip Bracken

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Oracle tips, scripts, and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 24 May 2007
Why does the SMON process periodically consume 100% CPU? At that moment I see a lot of DML like insert, update on smon_scn_time, wri$ tables, etc. There are no user processes. I'm using ORACLE 10.2.0.2 on HP-UX 11.11. Please give me some tips to solve this problem?

>

This can occur if the SMON process is having to clean up a large number of temporary extents or to coalesce a large number of free extents in your tablespaces.

To find the number of temporary extents, run the following query.

select tablespace_name, segment_name, segment_type, sum(bytes),
count(extent_id)
from dba_extents
where segment_type = 'TEMPORARY'
group by tablespace_name, segment_name, segment_type;

To check to see if SMON is spending time coalescing free space in your tablespaces run the following query several times.

  Select count(*) from DBA_FREE_SPACE

If the count is going down, then that will indicate that SMON is definitely cleaning up free space.

How long has this been occurring and when does it occur? Does it occur when trying to start the database? Did something change? If this just started, you will need to identify if something recently changed in the application or database. Are your tablespaces dictionary managed or locally managed tablespaces? Is the application creating temporary work tables and then dropping them, or are tables being truncated? If you are using dictionary managed tablespaces, this will cause SMON to spend extra time cleaning up the free extends from dropping or truncating tables. To prevent this switch to locally managed tablespaces.

For more information refer to Metalink document 61997.1.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Oracle performance tuning
Can I use TKPROF in Oracle 10g?
How to improve performance of column update
Select on Oracle table takes hours
Import of database dump takes 13 hours
Slow query performance for customer with large data volume
ORA-03297 when trying to resize tablespace
Improve performance of SQL query
Total Oracle CPU time
See tablespace utilization/database size without DBA privileges
Simple SQL query takes longer than usual

Oracle database performance problems and tuning
Oracle tutorial library: SearchOracle.com's learning guides
What managers should consider when starting a database scaling project
Oracle releases new database, says 11g upgrade will cut costs
Oracle raises prices on database management packs
Oracle New Year's resolutions, part 1: Advice for navigating 2009
Solving common Oracle errors guide
Oracle 11g data compression
Varchar or number for better performance?
Do statistics on SYS-owned objects hurt performance in 10g?
Inside the Oracle 11g SQL Performance Advisor, part 1

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Oracle White Papers: Fusion Middleware
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts