Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: High "transaction rollbacks" value in v$sysstat
Just an update in case anyone still cares - I found the source of my high 'transaction rollbacks' stats. I captured a 10046 trace on a session that was generating some transaction rollbacks and I found the following in the trace file:
This same sequence appeared 229 times, which matched exactly with the increase I saw for the value of 'transaction rollbacks' in v$sesstat for this session.
So it appears the problem is due to a flaw in the application causing it to attempt 30 duplicate key inserts every second!
/mnt1/oracle/ ->oerr ora 1
00001, 00000, "unique constraint (%s.%s) violated"
Regards,
Brandon
-----Original Message-----
From: Allen, Brandon
Sent: Monday, September 12, 2005 4:13 PM
To: 'Lex de Haan'; oracle-l_at_freelists.org
Subject: RE: High "transaction rollbacks" value in v$sysstat
Now to try and figure out exactly what statements are failing and why . . .
>>Re: High "transaction rollbacks" value in v$sysstat
>>From: Phil Jones <phillipjones_at_xxxxxxxxx>
>>To: lex.de.haan_at_xxxxxxxxxxxxxx
>>Date: Sat, 10 Sep 2005 12:55:57 +0000
>>See his recent blog entries:
On 10/09/05, Lex de Haan <lex.de.haan_at_xxxxxxxxxxxxxx> wrote: > yep -- the famous (but less well known) Oracle feature "write consistency"
Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.
-- http://www.freelists.org/webpage/oracle-lReceived on Thu Sep 22 2005 - 14:10:17 CDT
![]() |
![]() |