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 > dropping a table is taking unexpectedly long time

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-01-03, 06:11
buddy_amazing buddy_amazing is offline
Registered User
 
Join Date: Jan 2003
Posts: 16
dropping a table is taking unexpectedly long time

Hi All,
A table creation is taking just 1 seconds while when we try to drop it, it takes around 15 seconds !! This is the behaviour with any table. I've reorganised the SYSIBM tables which were suggested by the reorgchk.
__________________
Regards,
Buddy Amazing
IBM Certified DB2 DBA/AppDvlpr
Reply With Quote
  #2 (permalink)  
Old 10-01-03, 13:29
quigleyd quigleyd is offline
Registered User
 
Join Date: Nov 2002
Location: Delaware
Posts: 186
If you have allot of stuff running at the time you issue the drop, it puts a lock on the system catalog. I have seen this may times, you may want to try:

1) connect to db
2) issue "change isolation to ur "
3) drop command
Reply With Quote
  #3 (permalink)  
Old 10-01-03, 13:33
quigleyd quigleyd is offline
Registered User
 
Join Date: Nov 2002
Location: Delaware
Posts: 186
Actually I reversed 1 & 2, it should be


1) issue "change isolation to ur "
2) connect to db
3) drop command
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