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: Koivu, Lisa <lisa.koivu_at_efairfield.com>
Date: Tue, 09 Apr 2002 14:13:36 -0800
Message-ID: <F001.00440099.20020409141336@fatcity.com>


I'm not sure. My gut says yes... because there's nothing left in the table, why should there be anything "left" in the index in the way of storage... but I don't know for sure. May be a fun thing to play with. (Wow, I need to get out more)

List? Someone has to know this.

LK, DBT
> -----Original Message-----
> From: Sherman, Paul R. [SMTP:PSherman_at_elcom.com]
> Sent: Tuesday, April 09, 2002 5:52 PM
> To: Multiple recipients of list ORACLE-L
> Subject: RE: Does index need rebuilding when table is truncated
>
> 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: 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).
Received on Tue Apr 09 2002 - 17:13:36 CDT

Original text of this message

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