Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
High "transaction rollbacks " value in v$sysstat

High "transaction rollbacks " value in v$sysstat

2005-09-08       - By Allen, Brandon

Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Not sure, I don't have good visibility into the application (Tririga Facility
Center 8i).  But if the application is rolling back, shouldn't I see 'user
rollbacks' being incremented at least as much as 'transaction rollbacks'?

-- --Original Message-- --
From: Lou Fangxin [mailto:anysql@(protected)]
Sent: Thursday, September 08, 2005 4:15 PM
To: Allen, Brandon
Cc: oracle-l@(protected)
Subject: Re: High "transaction rollbacks" value in v$sysstat


Check you application, is there so much rollback in you application, or
rollback to save point?


On 9/9/05, Allen, Brandon < Brandon.Allen@(protected)> wrote:

I just noticed in a 9.2.0.6 instance on Win2K3 that statspack is reporting a
lot of rollback in the "transaction rollbacks" statistic, but a much more
reasonable (smaller) value for "user rollbacks":

Statistic                                      Total     per Second    per Trans
-- ---- ---- ---- ---- ---- ----- -- ---- ---- ----- -- ---- ------ -- ---- ----
transaction rollbacks                      3,640,974           31.6          1.3
user calls                               135,007,494        1,172.0         47.4
user commits                               2,845,562           24.7          1.0
user rollbacks                                    21             0.0          0
.0

I searched Metalink for bugs but didn't find anything.  Is it even possible for
these values to be correct?  My understanding is that 'transaction rollbacks'
is a subset of 'user rollbacks', i.e. URs is incremented everytime a user
issues 'rollback' even if there is nothing to actually be rolled back, but TRs
is only incremented when actual rollback work is performed.  Is my
understanding incorrect/incomplete?  If so, what could be the cause of all this
rollback activity?

Thanks,
Brandon

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-l





--
Welcome, http://www.anysql.net/en/  <http://www.anysql.net/en/>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1515" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=526131723-08092005><FONT face=Arial color=#0000ff size=2>Not
sure, I don't have good visibility into the application (Tririga Facility
Center
8i).&nbsp; But if the&nbsp;application is rolling back, shouldn't I see 'user
rollbacks' being incremented at least as much as 'transaction
rollbacks'?</FONT></SPAN></DIV>
<BLOCKQUOTE>
 <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
 size=2>-- --Original Message-- --<BR><B>From:</B> Lou Fangxin
 [mailto:anysql@(protected)]<BR><B>Sent:</B> Thursday, September 08, 2005 4:15
 PM<BR><B>To:</B> Allen, Brandon<BR><B>Cc:</B>
 oracle-l@(protected)<BR><B>Subject:</B> Re: High "transaction rollbacks"
 value in v$sysstat<BR><BR></FONT></DIV>
 <DIV>Check you application, is there so much rollback in you application, or
 rollback to save point?</DIV>
 <DIV>&nbsp;</DIV>
 <DIV><BR><SPAN class=gmail_quote>On 9/9/05, <B class=gmail_sendername>Allen,
 Brandon</B> &lt;<A
 href="mailto:Brandon.Allen@(protected)">Brandon.Allen@(protected)</A>&gt;
 wrote:</SPAN></DIV>
 <DIV>
 <BLOCKQUOTE class=gmail_quote
 style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px
solid">I
   just noticed in a <A href="http://9.2.0.6">9.2.0.6</A> instance on Win2K3
   that statspack is reporting a lot of rollback in the "transaction rollbacks
"
   statistic, but a much more reasonable (smaller) value for "user rollbacks":
   <BR><BR>Statistic&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;Total&nbsp;&nbsp;&nbsp;&nbsp;
   per Second&nbsp;&nbsp;&nbsp;&nbsp;per
   Trans<BR>-- ---- ---- ---- ---- ---- ----- -- ---- ---- ----- -- ---- -----
-
   -- ---- ----<BR>transaction
   rollbacks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3,640,974&nbsp
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   31.6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.3<BR>user
   calls&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   135,007,494&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1,172.0&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   47.4<BR>user
   commits&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   2,845,562&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   24.7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.0<BR>user
   rollbacks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;21&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.0<BR><BR>I
   searched Metalink for bugs but didn't find anything.&nbsp;&nbsp;Is it even
   possible for these values to be correct?&nbsp;&nbsp;My understanding is
that
   'transaction rollbacks' is a subset of 'user rollbacks', i.e. URs is
   incremented everytime a user issues 'rollback' even if there is nothing to
   actually be rolled back, but TRs is only incremented when actual rollback
   work is performed.&nbsp;&nbsp;Is my understanding
   incorrect/incomplete?&nbsp;&nbsp;If so, what could be the cause of all this
   rollback activity? <BR><BR>Thanks,<BR>Brandon<BR><BR>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. <BR><BR>--<BR><A
   href="http://www.freelists.org/webpage/oracle-l">http://www.freelists.org
/webpage/oracle-l</A><BR></BLOCKQUOTE></DIV><BR><BR
 clear=all><BR>-- <BR>Welcome, <A
 href="http://www.anysql.net/en/">http://www.anysql.net/en/
</A></BLOCKQUOTE></BODY><!--[object_id=#oneneck.com#]--><FONT face=Tahoma size
=2><FONT color=#0000ff>
<P>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.</P><
/FONT></FONT></HTML>