473,396 Members | 1,789 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Uncommitted statements?

Hi,

is there any commandline option to see if there are uncommitted
statements and which statements aren't comitted? Or at least a hint that
there are uncommitted pages in the transaction log.

Bernd
May 18 '06 #1
2 2031
The db2 get snapshot for database on dbname will give you.
The log file name of the first active log, which should contain either or
both of 1 or more transaction in flight or dirty (committed but not
externalized to the table).
The last active log file.
The application handle of the appl. holding the pldest in flight
transaction.
But not the contents of the logs, nor the number of transactions in those
states.

A snapshot at the application level will show you how many appls. there are,
which are holding what type of locks and how many locks are held. You could
also turn the statement switch on to get this at the statement lervel. This
could be a busy report!!!!!
Those holding locks would be the ones that have not rolled back or committed
and therefore have in flight stuff.

HTH, Pierre.
--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"Bernd Hohmann" <ho*****@harddiskcafe.de> a écrit dans le message de news:
4d*************@individual.net...
Hi,

is there any commandline option to see if there are uncommitted statements
and which statements aren't comitted? Or at least a hint that there are
uncommitted pages in the transaction log.

Bernd


May 18 '06 #2
Once you identify the LOG file which u want to read you can use
SQLURLOG API
to read its contents.

cheers...
Shashi Mannepalli

May 18 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Pham Nguyen | last post by:
I haven't used the READ UNCOMMITTED transaction isolation level before, and I was wondering if this would be an appropriate use: I have an ID table containing ID numbers that are randomly...
1
by: THC | last post by:
Is it possible to set READ UNCOMMITTED to a user connecting to an SQL 2000 server instance? I understand this can be done via a front end application. But what I am looking to do is to assign...
3
by: Steve Atkins | last post by:
Is there any way to look at the database as though you were inside another sessions transaction? I've had two cases recently where this would have been somewhat useful. In one, a select into...
1
by: Karl | last post by:
Is there any way to make a Trigger use Uncommitted Read? I want to avoid the possibility of deadlocks in my triggers by setting them to use Uncommitted Read in all of their Select Stmts. I get...
5
by: Robert | last post by:
Rather than setting by session I would like to configure the DB as read uncommitted. Thanx Advance.
2
by: ojorus | last post by:
Hi! Some questions regarding the mysqli-extension (php5) 1) Prepared statements: If I understand things right, prepared statements will give better performance if you make several similar...
7
by: Igor | last post by:
1. In this topic...
0
by: Ohad Frand | last post by:
Hi Thanks a lot for your reply I think the main uses for it is to study the language and to see that I didn't miss anything else or that something is changed from one version to another. The...
0
by: Edoardo | last post by:
thanks guys, I was hoping to be able to get the info from some method on oracle's own jdbc implementation classes, as both suggestion to use these view imply another trip to the db from the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.