Deleting records from a table does not free up space in the database.
Search for high water mark in the concepts manual and you should find an
explanation of how this works.  The statement below only frees up space
above the high water mark on the table.

You can...

create table foo nologging as (select * from big_table);

truncate table big_table;

insert into big_table (select * from foo);

drop table foo;


-Ethan

-----Original Message-----
Sent: Thursday, January 17, 2002 3:27 PM
To: Multiple recipients of list ORACLE-L


ALTER TABLE table DEALLOCATE UNUSED KEEP integer;
the keep clause is optional.

-sunil

-----Original Message-----
Sent: Thursday, January 17, 2002 2:58 PM
To: Multiple recipients of list ORACLE-L


Hi
I deleted millions of rows from diffrent tables and I have not seen any 
impact on database size.What I have to do to get that free space?
Is it necessary to shutdown the database?
Thx
-Seema

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Post, Ethan
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to