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: Analytics updates - analyzing time to reload tables

Re: Analytics updates - analyzing time to reload tables

From: Nigel Thomas <nigel_cl_thomas_at_yahoo.com>
Date: Wed, 10 Oct 2007 14:03:50 -0700 (PDT)
Message-ID: <918563.48719.qm@web58702.mail.re1.yahoo.com>


Peter, are you really just dropping/creating indexes, or could you be adding/removing constraints (eg unique/primary)? eg "alter table t1 add constraint t_pk primary key (c1)" creates an index to enforce the PK *and* modifies the last DDL time. You would see that the table DDL time was the same as the last constraint/index to be added. Work through all other ALTER TABLE possibilities: are you using any of ALTER TABLE T1 DISABLE LOCK ALTER TABLE T1 DISABLE ALL TRIGGERS or any other similar DDL on the table? These would all be reasonable things for the load process to do (disable before load, re-enable afterwards...) Regards Nigel ----- Original Message ---- From: "Schauss, Peter" <peter.schauss@ngc.com> To: oracle-l@freelists.org <smip> I assume that the dba_objectslast_ddl_time for the table should be the time that the table was truncated, having verified that truncating a test table does, in fact, update this column. However, the LAST_DDL_TIMEs for the tables are always later than the CREATED times for the indexes. This would seem to say that the update process is deleting and recreating the indexes before it updates the tables. What am I missing here? Thanks, Peter Schauss -- http://www.freelists.org/webpage/oracle-l

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Oct 10 2007 - 16:03:50 CDT

Original text of this message

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