Shrinking Index tablespace [message #153052] |
Wed, 28 December 2005 13:40 |
toshidas2000
Messages: 120 Registered: November 2005
|
Senior Member |
|
|
All
If I move some indexes from index tablespace to another tablespace. How do I claim the free size of previous index tablespace. How do I shrink the previous tablespace.
Thanks
|
|
|
Re: Shrinking Index tablespace [message #153055 is a reply to message #153052] |
Wed, 28 December 2005 15:02 |
mjschwenger
Messages: 137 Registered: July 2005 Location: US
|
Senior Member |
|
|
What Oracle version you are running?
if 10g and using ASSM - search for:
ALTER INDEX <INDEX_NAME> SHRINK SPACE;
If 9/8 then search for:
ALTER DATABASE DATAFILE '/full path/datafile.dbf' RESIZE size XX[K|M];
(The last will help only if the last extent has never been used)
I think I got it right, but research for the correct syntax.
Hope this help.mj
|
|
|
|
|