Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: truncate or drop

RE: truncate or drop

From: Nick Wagner <Nick.Wagner_at_quest.com>
Date: Mon, 10 Dec 2001 10:18:01 -0800
Message-ID: <F001.003D8FCB.20011210092024@fatcity.com>

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:rgramolini_at_tax.state.vt.us] 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: rgramolini_at_tax.state.vt.us

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: ListGuru_at_fatcity.com (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). Received on Mon Dec 10 2001 - 12:18:01 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US