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 > Drop Table Reclaim Space

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-26-04, 11:32
rubystep rubystep is offline
Registered User
 
Join Date: Sep 2003
Posts: 85
Drop Table Reclaim Space

During DROP TABLE activity which will remove catalog info relating to the table, DBA thought that also the pages in the tablespace would be reclaimed at the timr of the DROP.
Corret or incorrect?
DBA seems to be getting tablespace full condition despite having dropped the table. We're at UDB 8.1.3 64-bit.
TIA,
Ruby
Reply With Quote
  #2 (permalink)  
Old 01-26-04, 13:11
cchattoraj cchattoraj is offline
Registered User
 
Join Date: Mar 2003
Posts: 343
Are you using dms tablespaces?
Reply With Quote
  #3 (permalink)  
Old 01-26-04, 13:59
rubystep rubystep is offline
Registered User
 
Join Date: Sep 2003
Posts: 85
DMS tablespaces are used.
Reply With Quote
  #4 (permalink)  
Old 01-26-04, 14:06
cchattoraj cchattoraj is offline
Registered User
 
Join Date: Mar 2003
Posts: 343
Do you have multiple tables in the tablespace?
Reply With Quote
  #5 (permalink)  
Old 01-26-04, 19:18
rubystep rubystep is offline
Registered User
 
Join Date: Sep 2003
Posts: 85
Yes, multiple tables in the tablespace.
Reply With Quote
  #6 (permalink)  
Old 01-27-04, 02:24
nitingm nitingm is offline
Registered User
 
Join Date: Jul 2003
Location: Austin, TX, USA
Posts: 278
Reorg

Hi,

Try asking the dba to use reorg command that will definitely reclaim as much as space as possible.

Regards

nitin.
__________________
HTH

Nitin

Ask the experienced rather than the learned
Reply With Quote
  #7 (permalink)  
Old 01-27-04, 09:17
platho platho is offline
Registered User
 
Join Date: Dec 2002
Posts: 58
Re: Reorg

Quote:
Originally posted by nitingm
Hi,

Try asking the dba to use reorg command that will definitely reclaim as much as space as possible.

Regards

nitin.
Hi ,

Perhaps a very stupid question, but if a table is dropped, how can you do a reorg on it ? Can you do a reorg on a tablespace ?

I hope someone can answer this because I am struggling with the same problems ...
Reply With Quote
  #8 (permalink)  
Old 01-27-04, 09:18
rubystep rubystep is offline
Registered User
 
Join Date: Sep 2003
Posts: 85
Reorg the dropped table?
Reply With Quote
  #9 (permalink)  
Old 01-27-04, 09:21
platho platho is offline
Registered User
 
Join Date: Dec 2002
Posts: 58
Quote:
Originally posted by rubystep
Reorg the dropped table?
This results in the following message :
SQL2211N The specified table does not exist.
Reply With Quote
  #10 (permalink)  
Old 01-27-04, 10:43
cchattoraj cchattoraj is offline
Registered User
 
Join Date: Mar 2003
Posts: 343
No, reorg all other tables in the tablespace.
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