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: Does index need rebuilding when table is truncated

RE: Does index need rebuilding when table is truncated

From: Freeman, Robert <Robert_Freeman_at_csx.com>
Date: Tue, 09 Apr 2002 14:33:23 -0800
Message-ID: <F001.00440115.20020409143323@fatcity.com>


There is not a HWM indicator for an index as there is for a table. When a truncate occurs, the blocks are cleared in the index and the extents (beyond the initial extent) are deallocated (assuming you do not issue the reuse storage clause).

RF

-----Original Message-----
Sent: Tuesday, April 09, 2002 5:52 PM
To: Multiple recipients of list ORACLE-L

Hello,

Lisa, what I was wondering when I read Rick's e-mail was... what about the HWM for the indexes when someone truncates a table. The table's HWM pointer gets reset of course, but I can never recall seeing anything about what happens to the index space.

Thank you,

Paul Sherman
DBA
voice - 781-501-4143 (office)
fax - 781-278-8341 (office)
email - psherman_at_elcom.com

-----Original Message-----
Sent: Tuesday, April 09, 2002 5:33 PM
To: Multiple recipients of list ORACLE-L

Hi Rick,

Nope. Try it. You'll see that the extents clear up just like the extents in the table do, if you don't specify the REUSE STORAGE clause.

Lisa Koivu
Oracle Database Tank
Fairfield Resorts, Inc.
954-935-4117

> -----Original Message-----
> From: Rick_Cale_at_teamhealth.com [SMTP:Rick_Cale_at_teamhealth.com]
> Sent: Tuesday, April 09, 2002 5:11 PM
> To: Multiple recipients of list ORACLE-L
> Subject: Does index need rebuilding when table is truncated
>
> Hi All,
>
> I know if you delete lots of data using delete the indexes may need
> rebuilding. Is this the case if the table is truncated?
>
> Thanks
> Rick
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author:
> INET: Rick_Cale_at_teamhealth.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).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Koivu, Lisa
  INET: lisa.koivu_at_efairfield.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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Sherman, Paul R.
  INET: PSherman_at_elcom.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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Freeman, Robert 
  INET: Robert_Freeman_at_csx.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 Tue Apr 09 2002 - 17:33:23 CDT

Original text of this message

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