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 > Export/Import of tables of a big tablespace

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-05-04, 11:22
superfayer superfayer is offline
Registered User
 
Join Date: Nov 2003
Location: Barcelona (SPAIN)
Posts: 4
Red face Export/Import of tables of a big tablespace

Hello,

I have a tablespace with a lot of applications tables (500 aprox.).
The tablespace is defined with a page size of 4Kb and it has reached the maxim limit of space allocation.

I've moved the two big tables includes in this tablespace to a new one tablespace and now I have 50 Gb of free space that I can't use it.

Using a Restore/redirect of the tablespace is not posible to reduce this size because I have empty pages that increasing the HighWater Mark and is not posible to reduce the size of the tablespace bellow this mark.
There are utilities to reduce the HWM but doesn't work in this case.

Is posible to move a high number of tables using the export/import utility using a script or something similar??

I'm working under DB2 UDB 7.2 Fixpak 10 and OS AIX 5.1

Kind regards,

Superfayer.

Last edited by superfayer; 04-05-04 at 11:24.
Reply With Quote
  #2 (permalink)  
Old 04-05-04, 12:24
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
Re: Export/Import of tables of a big tablespace

Quote:
Originally posted by superfayer
Hello,

I have a tablespace with a lot of applications tables (500 aprox.).
The tablespace is defined with a page size of 4Kb and it has reached the maxim limit of space allocation.

I've moved the two big tables includes in this tablespace to a new one tablespace and now I have 50 Gb of free space that I can't use it.

Using a Restore/redirect of the tablespace is not posible to reduce this size because I have empty pages that increasing the HighWater Mark and is not posible to reduce the size of the tablespace bellow this mark.
There are utilities to reduce the HWM but doesn't work in this case.

Is posible to move a high number of tables using the export/import utility using a script or something similar??

I'm working under DB2 UDB 7.2 Fixpak 10 and OS AIX 5.1

Kind regards,

Superfayer.
Have you looked at db2move? It's in the "Data Movement Utilities Guide and Reference". It's not perfect, but it might automate some of it.
__________________
--
Jonathan Petruk
DB2 Database Consultant
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