Database Administration (MOSC)

MOSC Banner

How to find out which transactions are being rollbacked?

edited Nov 7, 2011 1:20AM in Database Administration (MOSC) 13 commentsAnswered
Hi all,
a recent application connected to our database (10.2.0.5) has started to cause excessive rollbacks. I have tracked it down to a specific user with the query;:

select se.username,sum(s.value) from v$sesstat s, v$session se where statistic#  in(5) and s.sid=se.sid group by se.username (statistic# 5=user rollback)

where I can se the growth of rollbacks in sizes of 500-1000 per second.


Is there any way I can find which queries are being rollbacked? I hade a brief look into the auditing of tables, but I was unable to distinguish the rollbacked queris from the committed... (but I am no expert, the info might be there anyway...)

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