Remove tables from one tablespace to another [message #58519] |
Thu, 04 September 2003 09:48 |
June Wang
Messages: 5 Registered: August 2003
|
Junior Member |
|
|
I try to use command 'alter table xxx move tablespace ttt' to move tables from one tablespace to another. It will remain all grants and the objects depend on those tables. But it has only a single thread when move parallel degree tables (slow) and also gets errors if table has long type column(s). Is there any better way to do it? Thanks.
|
|
|
|
|
Re: Remove tables from one tablespace to another [message #58555 is a reply to message #58526] |
Tue, 16 September 2003 18:34 |
Peter
Messages: 62 Registered: August 2000
|
Member |
|
|
Create an indexfile (using the import utility) to get table definition. drop and re-create the tables(in the new tablespaces) and import the data. If you want to use sqlload just pre-create the tables run the load and then afterward run and import with rows=n this will import all the grant constraint and indexes etc.
|
|
|
|