Title: RE: truncate or drop

If they have thousands of extents... it might be better to truncate first, then drop.  I've seen it take up to 4-5 hours to drop a table with thousands of extents (not my database... but a clients.)  :) 

If you are going to rebuild entire datafiles/tablespaces... it might just be faster to take them offline and drop them. Then rebuild the new datafiles. 

If it is the entire database...  rebuild it from scratch...

Hope this helps.

Nick

-----Original Message-----
From: Ruth Gramolini [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 10, 2001 8:40 AM
To: Multiple recipients of list ORACLE-L
Subject: truncate or drop


Hi  Everyone!

I am trying to empty a database with some very large tables so I can import
it again.
Which is faster, truncating or dropping the tables?

Thanks in advance,
Ruth

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Ruth Gramolini
  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