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: [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to