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 > reduce size

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-20-05, 19:28
udbdb2 udbdb2 is offline
Registered User
 
Join Date: Nov 2003
Posts: 121
reduce size

Anyone tried the reducing the size of database ?
What are the options ? can we restore into a smaller size database ?
TIA.
Reply With Quote
  #2 (permalink)  
Old 09-21-05, 07:54
przytula przytula is offline
Registered User
 
Join Date: Nov 2004
Posts: 374
size

you mean the size of containers ?
when do you reduce the size or what is the purpose ?
alter tablespace can also be used to reduce the dms container size if possible
__________________
Best Regards, Guy Przytula
DB2/ORA/SQL Services
DB2 DBA & Advanced DBA Certified
DB2 Dprop Certified
http://users.skynet.be/przytula/dbss.html
Reply With Quote
  #3 (permalink)  
Old 09-21-05, 12:56
udbdb2 udbdb2 is offline
Registered User
 
Join Date: Nov 2003
Posts: 121
restore into smaller database

actually need to restore a database which is initialized bigger ( with dms tablespace ) but actual size of backup is very small so need to restore at a server with lesser space ( but this space is bigger than actual backup size)

TIA.
Reply With Quote
  #4 (permalink)  
Old 09-22-05, 10:37
bmujeeb bmujeeb is offline
Registered User
 
Join Date: Mar 2004
Posts: 448
You have following option , all of them applicable to dms , because sms only grab an extent when it required, not like dms that layouts ist container initially.

1. As guy says resize the dms containers.
2. add small file to dms and drop the larger file.
3. do a redirect restore , giving the size of files at the command.


regards.

mujeeb
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