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 > Load table - can I split table in 3 or 4 parts somehow

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-16-04, 04:35
NNicole NNicole is offline
Registered User
 
Join Date: May 2003
Posts: 57
Load table - can I split table in 3 or 4 parts somehow

Hello all!

I'm trying to find out how to load 24GB table. Temp space available for that is 12GB. As I need aproximatelly double space for temp TS and at the moment don't have more than 12GB, is there any possibility to load only first third of table and than continue with second and than the last third?

I can't find how to do that.
Thank you in advance.

NNicole
Reply With Quote
  #2 (permalink)  
Old 08-16-04, 04:54
NNicole NNicole is offline
Registered User
 
Join Date: May 2003
Posts: 57
Table is in IXF format - not del, unfortunetly...
Reply With Quote
  #3 (permalink)  
Old 08-16-04, 07:18
Dipanjan Dipanjan is offline
Registered User
 
Join Date: Sep 2003
Posts: 84
Rowcount and restartcount parameters in the LOAD Utility may provide the solution ( refer DB2 Command reference for the usage).

Please let me know how you get round this problem
Reply With Quote
  #4 (permalink)  
Old 08-18-04, 13:45
NNicole NNicole is offline
Registered User
 
Join Date: May 2003
Posts: 57
So I finished with load and this is what I found out - if someone need this information.
If my exported table is in del or asc format that does not make problems. I could split it and just load 3 times.
But table in ixf format was not possible to split. There is no restartcount possibility for load. And rowcount gives possibility to load first n rows, but not from 10th to 15th row, for example.
Restart I coudn't find out how to manage since it was not redirection of tablespaces ...

So, at the end I found extra discs.... I needed 1,5 times more for temp TS.
And it didn't succed with one big temp TS and three small. When the first one (small one)was full it didn't conutinue with other- it stopped with the same massage. So I split temp TS and made them equal.
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