Enterprise Manager Generic (MOSC)

MOSC Banner

SQL Tuning Advisor in OEM

edited Jul 17, 2014 5:46AM in Enterprise Manager Generic (MOSC) 3 commentsAnswered

We had a strange incident a couple of nights ago where an application job running an insert statement failed with an 'ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired' error. No other jobs were running so I was asked to try and determine what was holding locks on the table.

The only thing I have come up with is the same statement but with a comment before it as follows '/* SQL Analyze(252,1) */'. The time of the failure was just after the opening of the Maintenance Window and Automatic SQL Tuning is enabled. I am not familiar with this functionality but it appears to run the actual statements it is analysing. Is this correct?

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