Create an event monitor for deadlocks with show details and store it in
a file.
Then use db2evmon utility to format the data stored in file.
You can easily eliminate deadlock..
Regards
Rajesh
-----Original Message-----
From: Kaushal Anand
[mailto:db2udbdba-ezmlmshield-x62222026.[Email address protected]
Sent: Wednesday, May 23, 2007 7:38 AM
To: LazyDBA Discussion
Subject: RE: Transaction Timeout Problem
I'm guessing it's a command window environment. Auto-commit might be
off. Try committing after the update.
Regards,
Anand
-----Original Message-----
From: SangeethaPriya R.
[mailto:db2udbdba-ezmlmshield-x63888402.[Email address protected]
Sent: Wednesday, May 23, 2007 3:36 PM
To: LazyDBA Discussion
Subject: Transaction Timeout Problem
Hi Friends,
We are facing Transaction Timeout problem while we simaltaneously update
and select rows from the same table.
Error:
SQL0911N. The current transaction has rolled back because of a deadlock
or timeout. Reason code "2"
Please suggest some solution for this problem.
Thanks and Best Regards,
Sangeetha Priya R.
---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY To post a
dba job: http://jobs.lazydba.com To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY To post a
dba job: http://jobs.lazydba.com To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.
--------
IRS Circular 230 Disclosure:
Please be advised that any discussion of U.S. tax matters contained within this communication (including any attachments) is not intended or written to be used and cannot be used for the purpose of (i) avoiding U.S. tax related penalties or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein.
DB2 & UDB email list listserv db2-l LazyDBA home page