Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Urgent : Alter table move

Status
Not open for further replies.

snayak

IS-IT--Management
Nov 20, 2002
23
Hi,

Just wanted to know , can alter table move command can be used to move to the same tablespace and get rid of fragmentation ? i.e. if the table is in say tablespace named users and I issue the command eg: alter table t move tablespace users; Please help.

Thanks,
With regards
 
Snayak,

The alter table move command does not reduce fragmentation it is strictly a db block move. As far as moving the table to the same tablespace, I'm not sure if that is possible. I do know that a alter table move command will require a rebuild for all the indexes on that table.

To reduce fragmentation and maintain contraints I would suggest using export/import.

FLSTF
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top