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 > help!a tablespace crashed!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-21-05, 03:15
stephen.song stephen.song is offline
Registered User
 
Join Date: Aug 2004
Posts: 24
help!a tablespace crashed!

i got a tablespace crashed this morning,
i restart db DROP PENDING TABLESPACES xxx,
then i can connect to the database.

this tablespace is quite no use.

i want to drop this tablespace,but when i try to drop it , it says there`s a table in it, i have to drop the table first.

this table has a blob column and blob data is in this drop pending tablespace, and other data are in an other tablespace.

when i try to drop this table,it says i can not drop this table becase the DROP PENDING TABLESPACE can not access.

what can i do?

thinks!
Reply With Quote
  #2 (permalink)  
Old 10-21-05, 07:13
juliane26 juliane26 is offline
Registered User
 
Join Date: Oct 2005
Posts: 109
use the LOAD QUERY command to determine your table state.

In case of check pending (drop pending is only for table spaces)
the use the set integrity command with the access force option.

For any LOAD PENDING or whatever states with LOAD use LOAD TERMINATE.
It can get into check pending afterwards.

Then you should be able to drop the table and afterwards hopefully the tablespace.
__________________
Juliane
Reply With Quote
  #3 (permalink)  
Old 10-23-05, 22:48
stephen.song stephen.song is offline
Registered User
 
Join Date: Aug 2004
Posts: 24
i`ve drop the db and created a new one.

i`ll do a experiment tonight.

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