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: reorg and rebuild

Re: reorg and rebuild

From: Mladen Gogala <mgogala_at_adelphia.net>
Date: Wed, 24 Jul 2002 12:20:20 -0800
Message-ID: <F001.004A172E.20020724122020@fatcity.com>


With CTAS, truncate and insert, indexes will be rebuilt automagically. I used to do index rebuilds (alter index rebuild) for superstitious reasons
only. Occasionally, when the time needed to do a range scan increased dramatically, it has even benefited the performance.

On 2002.07.24 15:03 Peter R wrote:
>
> Hi Friends,
>
> Iam reorganizing my tables thru copy(CTAS), So when Iam re-inserting
> data into my Original table Will the indexes will build automatically
> or I have to rebuild?? Here Iam not doing for indexes anything i.e
> Iam not disabling it.
>
> I want to create table thru CTAS, truncate original table, copy back
> data into original table from duplicate table. So that I can pack
> data and get back my space back. My environment is v7.3 on AIX.
>
>
> Thanks in advance
> peter.
>
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>

>-- 

> Please see the official ORACLE-L FAQ: http://www.orafaq.com
>-- 

> Author: Peter R
> INET: niagarap_at_hotmail.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).
-- 
Mladen Gogala
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Mladen Gogala
  INET: mgogala_at_adelphia.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).
Received on Wed Jul 24 2002 - 15:20:20 CDT

Original text of this message

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