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: Speed up Truncate tables

RE: Speed up Truncate tables

From: <gregory.t.norris_at_mail.sprint.com>
Date: Wed, 15 Aug 2001 05:53:14 -0700
Message-ID: <F001.0036B055.20010815054023@fatcity.com>

Check the extent sizes... truncate can take a VERY long time if there are a very large number of extents. At one point we had a large table with approximately 60,000 extents (accidentally created with INITIAL/NEXT 80k MAXEXTENTS UNLIMITED), which took about 2.5 hours to truncate. After recreating it sane extent sizes, it now takes only a few seconds.

> -----Original Message-----
> From: chuan [mailto:chuan_at_asiaonline.net]
> Sent: Wednesday, August 15, 2001 3:10 AM
> To: ORACLE-L
> Cc: chuan
> Subject: Speed up Truncate tables
>
>
> Hi All,
>
> Is there any way to speed up the truncating a big table
> with 12 million
> rows?
>
> Basically, I implemented truncating that big table on
> Production, but it
> affected the performance much, so I had to stop it in the
> middle of way. All
> the rows were truncated but the HWM was not shrunk at all. I
> want to do it
> again to get the space back. Is there any way to speed up
> this process?
>
> Platform: Oracle EE8.0.6 and Solaris 2.7
>
> Thanks a lot in advance.
>
> Chuan
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Chuan Zhang
> INET: chuan_at_asiaonline.net
>
> 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).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: gregory.t.norris_at_mail.sprint.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 Wed Aug 15 2001 - 07:53:14 CDT

Original text of this message

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