Home » RDBMS Server » Server Administration » ALTER TABLE MOVE TABLESPACE
ALTER TABLE MOVE TABLESPACE [message #123822] Wed, 15 June 2005 00:45 Go to next message
IA
Messages: 91
Registered: March 2004
Member
Hi Everyone,

Does the ALTER TABLE move TABLESPACE command reorganise (ie defragment) a table?

Is this the equivelant to exporting the data, truncating and importing the data?

Thanks in advance
IA
Re: ALTER TABLE MOVE TABLESPACE [message #123829 is a reply to message #123822] Wed, 15 June 2005 01:03 Go to previous messageGo to next message
rakeshsindhu
Messages: 1
Registered: June 2005
Location: New Delhi
Junior Member
Yes, all will work same and defragment the table.
Re: ALTER TABLE MOVE TABLESPACE [message #123894 is a reply to message #123822] Wed, 15 June 2005 08:24 Go to previous messageGo to next message
smartin
Messages: 1803
Registered: March 2005
Location: Jacksonville, Florida
Senior Member
And you don't actually have to move the table to another tablespace, can just keep it in the same tablespace with the alter table move. And can use the opportunity to compress it if you so desire.
Re: ALTER TABLE MOVE TABLESPACE [message #125543 is a reply to message #123822] Mon, 27 June 2005 06:39 Go to previous messageGo to next message
everton
Messages: 1
Registered: June 2005
Location: London
Junior Member
But if you compress the table the alter table move will no longer be able to shuffle the rows to reorganise the table.
Re: ALTER TABLE MOVE TABLESPACE [message #125551 is a reply to message #125543] Mon, 27 June 2005 08:53 Go to previous message
smartin
Messages: 1803
Registered: March 2005
Location: Jacksonville, Florida
Senior Member
everton wrote on Mon, 27 June 2005 06:39

But if you compress the table the alter table move will no longer be able to shuffle the rows to reorganise the table.


Why not?
Previous Topic: Migration problem,from SQL Server to Oracle
Next Topic: ORA-00942: table or view does not exist
Goto Forum:
  


Current Time: Fri Sep 27 00:14:39 CDT 2024