Home » RDBMS Server » Server Administration » Deallocating unused table space
Deallocating unused table space [message #61543] Tue, 04 May 2004 21:16 Go to next message
SJC
Messages: 11
Registered: December 2003
Junior Member
Hi,

Please reply asap. After deletion of large amounts of record from a table(some records still remain so cannot use truncate), how do I deallocate unused table space in Oracle 7.1.3. (alter table ... deallocate unused gives ORA-01735: invalid ALTER TABLE option)

Thanks & Regards

S.J. Chanda
Re: Deallocating unused table space [message #61556 is a reply to message #61543] Wed, 05 May 2004 02:39 Go to previous messageGo to next message
Sujit Sarkar
Messages: 40
Registered: September 2003
Member
alter table...deallocate unused
removes space above the high water mark. This command wouldn't serve your purpose.
To reclaim the space of any table either you can move the table into a different tablespace by the following command.
alter table ... move tablespace
;
or
export the table,constraints,grants,rows,indexes and drop the table and import it.

this way you can reclaim your unused space.

thanx & rgrds

sujit
Re: Deallocating unused table space [message #61571 is a reply to message #61556] Wed, 05 May 2004 20:18 Go to previous message
SJC
Messages: 11
Registered: December 2003
Junior Member
Thanks Sujit,

I had to do the same...

Regards
SJC
Previous Topic: lost sys_password
Next Topic: Live Synchronization of data between ORACLE AND SQL SERVER
Goto Forum:
  


Current Time: Wed Jan 08 13:47:27 CST 2025