Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: reorg and rebuild
Peter,
Unless you drop the indexes and constraints they still exist in the
original table. Truncating the table will reset the HWM on the tables
and indexes. The reload will generally be faster if you drop the indexes
before you load the data and then recreate the indexes. Be sure to check
for invalid indices after you are finished.
Ron
ROR mª¿ªm
>>> niagarap_at_hotmail.com 07/24/02 03:03PM >>>
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.
-- 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Ron Rogers INET: RROGERS_at_galottery.org 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 - 14:44:23 CDT