Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Tracing Commit by user

Re: Tracing Commit by user

From: sybrandb <sybrandb_at_gmail.com>
Date: 30 Sep 2006 05:07:01 -0700
Message-ID: <1159618021.857564.32310@e3g2000cwe.googlegroups.com>

peter wrote:
> Please tell it how to trace commit by any user.
> Means if any user commiting data again and again then how can we trace
> it ( How can u come to know who is doing this again and again ).

The number of commits is is v$sysstat (system-wide) and v$sesstat and can be retrieved using statspack.

Excessive committing is usually a result of using an application with any autocommit setting on. This means it commits individual inserts and updates.
The number of records affected by a commit can be retrieved using the logminer package.

This is an application issue and not an end-user issue. The end-user can't help it, he has been provided with a crappy piece of software.

-- 
Sybrand Bakker
Senior Oracle DBA
Received on Sat Sep 30 2006 - 07:07:01 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US