This can occur if the SMON process is having to clean up a large number of temporary extents or to coalesce a large...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
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.
Dig Deeper on Oracle database performance problems and tuning
Related Q&A from Phillip Bracken
I have always used TKPROF to do SQL tuning in previous versions of Oracle (7,8 and 9). Can I still use TKPROF in Oracle 10g R2?continue reading
A user complains that every time he tries to access a table (select only), it takes more than two hours to get the results. There are no DML ...continue reading
I have a table with 1.5 million records that needs to have a column updated based on a correlated subselect. This update is currently sitting at four...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.