Database Tuning (MOSC)

MOSC Banner

I am seeing occasional long transactions (59 seconds or over 1 minute) when most of my transactions

edited Sep 16, 2019 10:04AM in Database Tuning (MOSC) 11 commentsAnswered

I am seeing an occasional long transaction in my system. Normally, my transactions run in under 10seconds but there have been a few that are taking a a lot longer. I have a log table that captures blow by blow of what is happening and when I look at the log I see gaps in the log entry times that I cannot explain. Below is an example of the gaps I am seeing.

  1. 8/29/2019 3:57:39 PM to 8/29/2019 3:57:41 PM --> my transaction went silent at the start
  2. 8/29/2019 3:57:47 PM to 8/29/2019 3:57:57 PM
  3. 8/29/2019 3:58:00 PM to 8/29/2019 3:58:34 PM -->my transaction woke up at the end

If I can look at the rows from gv$active_session_history for the time interval, I do see my process running but it is never waiting on anything but "ON CPU". I know what SQL statement the process appears to be hanging on but that same statement is (or has been executed) hundreds of times per day. And it is only sometimes I see the pause.

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