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 > Db2 Udb Unix Aix

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-08-04, 11:44
Sidnet Sidnet is offline
Registered User
 
Join Date: Oct 2003
Posts: 28
Question Db2 Udb Unix Aix

Hi everybody ...

How to move a DMS tablespace from an Filesystem location to another ..

For exemple
Tablespace TOTO on /database/GBDE//NOD0000/SQL00001/tabspace move to /database/GBDE/NOD0000/SQL00001/tabspace2 ?

Thanks for your reply

Sidnet
Reply With Quote
  #2 (permalink)  
Old 12-08-04, 11:54
nitingm nitingm is offline
Registered User
 
Join Date: Jul 2003
Location: Austin, TX, USA
Posts: 278
Logging Mode.

Hi,

Can you tell us whether ur database is in online logging (logretain) or offline mode.

That would help us to give a proper answer.
__________________
HTH

Nitin

Ask the experienced rather than the learned
Reply With Quote
  #3 (permalink)  
Old 12-08-04, 12:21
Sidnet Sidnet is offline
Registered User
 
Join Date: Oct 2003
Posts: 28
Thumbs up Db2 Udb Unix Aix / Move Tablespace Dms

Thanks for your reply

ours databases are in online logging (logretain) mode

Bye

Sidnet
Reply With Quote
  #4 (permalink)  
Old 12-08-04, 13:35
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
If you have logretain mode active, you can backup and restore the tablespaces using a redirected restore to the new file location. See the Command Reference manual for details.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #5 (permalink)  
Old 12-08-04, 14:23
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
I do not know about AIX, But for UDB LUW you can use db2relocatedb to move tablespaces.

Andy
Reply With Quote
  #6 (permalink)  
Old 12-14-04, 10:14
Sidnet Sidnet is offline
Registered User
 
Join Date: Oct 2003
Posts: 28
Wink How to move DMS tablespace into a new path directory

And what about REORG TABLE (can we re-direct into a new Pathdirectory (new FILESYSTEM MOUNTED )

And what about EXPORT / IMPORT utilities ???
Can we specifie in an IMPORT Command to re-direct into a new Pathdirectory (new FILESYSTEM MOUNTED ) ??

for exemple :

Tablespace TOTO on /database/GBDE/NOD0000/SQL00001/tabspace move to /database/GBDE/NOD0000/SQL00001/tabspace2 ?

Thanks for your reply

Sidnet
Reply With Quote
  #7 (permalink)  
Old 12-14-04, 10:20
bmujeeb bmujeeb is offline
Registered User
 
Join Date: Mar 2004
Posts: 448
I think you can add new containers and drop the old containers.
Db2 will automatically do the rebalancing.
Reorg has no option of moving the tables to another tablespace.

regards

Mujeeb
Reply With Quote
  #8 (permalink)  
Old 12-14-04, 10:30
Sidnet Sidnet is offline
Registered User
 
Join Date: Oct 2003
Posts: 28
Question How to move a DMS tablespace from an Filesystem location to another ..

Hi !!
Thanks for your fast reply !!!

Is it possible dropping containers in DB2 Versionning
Database server = DB2/6000 7.2.4 ????

Thank for your reply

Sidnet ...
Reply With Quote
  #9 (permalink)  
Old 12-15-04, 12:34
nitingm nitingm is offline
Registered User
 
Join Date: Jul 2003
Location: Austin, TX, USA
Posts: 278
Basic Function.

Hi Sidnet.

It's possible to add/drop/redefine containers as they are basic administration functions which a dba would use during his course of work.

Like Marcus_A advised you to use the Command Reference manual for clarity, I would also suggest that you start reading the Admin guide or buy a DB2 Handbook which is easily available and I am sure they will be of great help to you in solving such doubts.
__________________
HTH

Nitin

Ask the experienced rather than the learned
Reply With Quote
  #10 (permalink)  
Old 12-16-04, 10:30
bmujeeb bmujeeb is offline
Registered User
 
Join Date: Mar 2004
Posts: 448
Most of the part of 7a are relevant to security. Also it replaces 7 fixpak.
fixpak 7 made a major change in database, moving from 8.x to 8.2.
I got this same advice from IBM back two years to wait and don't move
very fast on production environment under these circumstances.

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