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 > Convert Table into Partitioned Table

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-25-11, 00:30
ajiep ajiep is offline
Registered User
 
Join Date: Dec 2010
Posts: 11
Question Convert Table into Partitioned Table

hi guys,

i want to convert table 70 GB of data into partition table.

is there any method to do that?
Reply With Quote
  #2 (permalink)  
Old 03-25-11, 09:33
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
I think you need to:

1) Create a new table that is partitioned and indexes
2) Load the data from the old table
3) Drop the old table
4) Rename the new table to the old table
5) Create any Foreign keys that were dropped when the old table was dropped
6) Do runstats on the new table
7) Rebind any packages that referenced the old table

Andy
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