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 > db2 rebuild index

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-28-11, 09:01
poorviparikh poorviparikh is offline
Registered User
 
Join Date: Jul 2005
Posts: 12
db2 rebuild index

When an index is being rebuilt on a table, what is the STATE of the tablespace it resides in?
getting a deadlock when a scheduled backup is being run.
SQL0911N The current transaction has been rolled back because of a deadlock
or timeout. Reason code "68". SQLSTATE=40001
The one prominent thing seen in the db2diag.log is the rebuilding of indexes at the same time.

Thank you,
Poorvi
Reply With Quote
  #2 (permalink)  
Old 03-28-11, 19:09
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
RC=68 is a lock timeout. Capture lock and application info (example: db2pd, snapshots, db2_capture_locktimeout...) to understand what's happening.

Some info about what's (in)compatible with online backup:
https://www-304.ibm.com/support/docv...id=swg21214717
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