If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > deadlocks in db2 8.2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-25-07, 22:55
sundaram sundaram is offline
Registered User
 
Join Date: Mar 2006
Posts: 104
deadlocks in db2 8.2

Hi

We use DB2 UDB on windows 2000.

Our porduction database used to run OK in version 7.2.5. We migrated to db2 8.2.6 recently and are getting 6 to 10 dead locks in a day. The table indexes are still type 1 indexes. Can it be the cause for this?

Any help will be much appreciated
Reply With Quote
  #2 (permalink)  
Old 02-26-07, 01:19
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
If you reorg the tables (not inplace reorg) the indexes will be converted to type 2. You should do this first before persuing any other causes.

If the tables are too large to reorg, then I would just drop and recreate the indexes.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 02-26-07, 09:18
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
You can also use the REORG command to just convert the indexes to type-2:

REORG INDEXES ALL FOR TABLE MyTable CONVERT

Andy
Reply With Quote
  #4 (permalink)  
Old 02-27-07, 17:07
sundaram sundaram is offline
Registered User
 
Join Date: Mar 2006
Posts: 104
The problem is fixed after doing reorg indexes all for table <..> convert.

Thanks
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On