473,321 Members | 1,708 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,321 software developers and data experts.

Basic DB2 transaction diagnosis question


Hi, and thanks in advance... I have about zero experience with DB2, and I
need help diagnosing a transaction-related problem...
What SQL can I run to find what transactions (XA) may be in process
in the DBMS, and which(or how many) dynamic sections may be associated
with a given open transaction? The problem presents itself as a client (complex
middleware) that uses a JDBC driver to do work with DB2. This client runs out
of a clientside jdbc driver resource that is supposed to be released when the
client-involved transaction is ended (either by rollback or commit). I want to
verify whether all the transactions that the client instigated were in fact
completed.

Thanks,
Joe Weinstein at BEA

Nov 12 '05 #1
2 4364
In 8.2 there is a great utility called dbxamon that will monitor and
roolback any XA transactions for you.

"Joe Weinstein" <jo*******@bea.com> wrote in message
news:41********@news.beasys.com...

Hi, and thanks in advance... I have about zero experience with DB2, and I
need help diagnosing a transaction-related problem...
What SQL can I run to find what transactions (XA) may be in process
in the DBMS, and which(or how many) dynamic sections may be associated
with a given open transaction? The problem presents itself as a client (complex middleware) that uses a JDBC driver to do work with DB2. This client runs out of a clientside jdbc driver resource that is supposed to be released when the client-involved transaction is ended (either by rollback or commit). I want to verify whether all the transactions that the client instigated were in fact completed.

Thanks,
Joe Weinstein at BEA

Nov 12 '05 #2
Joe Weinstein <jo*******@bea.com> wrote in message news:<41********@news.beasys.com>...
Hi, and thanks in advance... I have about zero experience with DB2, and I
need help diagnosing a transaction-related problem...
What SQL can I run to find what transactions (XA) may be in process
in the DBMS, and which(or how many) dynamic sections may be associated
with a given open transaction? The problem presents itself as a client (complex
middleware) that uses a JDBC driver to do work with DB2. This client runs out
of a clientside jdbc driver resource that is supposed to be released when the
client-involved transaction is ended (either by rollback or commit). I want to
verify whether all the transactions that the client instigated were in fact
completed.

Thanks,
Joe Weinstein at BEA


try to create event monitor, then y can get all the transaction
currently running. There are lots...
Nov 12 '05 #3

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

Similar topics

6
by: Igorati | last post by:
I need some ideas of how to accomplish this task. I was told that I just need to save the input in a file and make the file searchable, nothing fancy like tying into SQL or Oracle. THis is a basic...
1
by: Avanish Pandey | last post by:
Hello All We have 3 differen services (in 3 different server) Service A,B,C . We want to implement distributed transaction when call methods of B and C from A. Is it possible? if yes then how? ...
2
by: Robin Tucker | last post by:
I have a query batch "update" script that upgrades my users database from, say version 0 to version 1, or from version 1 to version 2. I would like to know how I can wrap the entire script in a...
15
by: Zeng | last post by:
Hi, The bigger my C# web-application gets, the more places I need to put in the tedious retrying block of code to make sure operations that can run into database deadlocks are re-run (retried)...
2
by: msnews.microsoft.com | last post by:
Hello, I have the scenario. I m building an application either in asp.net or window application. This application is base on n-tier application model. Let us take example of Northwind Database in...
8
by: Gregor Kovaè | last post by:
Hi! If I create a procedure with BEGIN ATOMIC block I know these means that when an error occurs all the SQL statements will be rolled back. The question I have is: If I select all records form...
14
by: Jim Michaels | last post by:
mysql_query("START TRANSACTION", $link2); $q2=mysql_query("SELECT pictures.pid AS pid FROM pictures,counter WHERE pictures.pid>counter.pid LIMIT 1", $link2); if ($row2=mysql_fetch_assoc($q2)) {...
0
by: Nemisis | last post by:
Hi everyone, I have 2 classes, Company and Contact, a company can have 1 or more contacts. A contact can only be in one company. I have created a Company class object that contains all the...
3
by: sifrah | last post by:
Hi All, My SQL server transaction log is getting bigger every day and my HDD if running out of space. So i follow the MS KB about how to Shrinking the Transaction Log. After doing so the log is...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.