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: Ways to improve speediness of truncate, drop, coalesce

Re: Ways to improve speediness of truncate, drop, coalesce

From: A. Bardeen <abardeen1_at_yahoo.com>
Date: Sat, 18 Aug 2001 06:06:55 -0700
Message-ID: <F001.0037016A.20010818060520@fatcity.com>

Jay,

The size of the buffer cache and the number of DB_WRITER_PROCESSES has a big impact on the time it takes to truncate a table.

Each DBWR process has to scan its portion of the buffer cache to flush any blocks belonging to the truncated table or its indexes. This is a sequential process as only one DBWR process can do this at a time.

Obviously it's not always feasible to bounce the db, but if you have to truncate a large # of tables and can afford to bounce the db, starting it up with a very small buffer cache and only one DBWR process can greatly reduce the time it takes to truncate.

HTH,


Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: A. Bardeen
  INET: abardeen1_at_yahoo.com

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 Sat Aug 18 2001 - 08:06:55 CDT

Original text of this message

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