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 > Rebalance database in filesystems

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-12-06, 15:16
sk1030 sk1030 is offline
Registered User
 
Join Date: Oct 2005
Posts: 2
Rebalance database in filesystems

I need to move database from currently on 8 filesystems
to new 6 filesystems on the same server
How do I rebalance the data on 6 containers?
Reply With Quote
  #2 (permalink)  
Old 04-12-06, 21:38
chavadb2 chavadb2 is offline
Registered User
 
Join Date: Aug 2004
Posts: 138
redirected restore..when you do a redirected restore, you have an option to redefine tablespace containers..point them to new filesystems..

or export the data in the tables to a dir
extract ddl for db using db2look
modify the tablespace ddl using the new filesystems as containers
save db cfg
drop the db
recreate db
execute the ddl
load the data back
run set integrity
reset db cfg parameters
Reply With Quote
  #3 (permalink)  
Old 04-13-06, 05:25
gardenman gardenman is offline
Registered User
 
Join Date: Apr 2004
Posts: 54
backup db
reswore db with redirect
Reply With Quote
  #4 (permalink)  
Old 04-13-06, 05:52
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Other alternatives are to use RELOCATEDB, ALTER TABLESPACE DROP CONTAINER …
Sorry, but your may have to give more details like version, operating system, container layout (say, you have 8 containers and want to reduce to 6 containers, or you have some tablespaces with containers that are in the file systems) to see if these will be any good

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
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