Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Insert
Usually one drop indexes before massive inserts. Mostly in data loads in DW - if using direct path in SQL*Loader is not an option. It should be decided on the basis if saved time on inserts > then time to rebuild an indexes. Also you cannot drop indexes if system should be available during inserts. (PK, Unique, FK constraints, performance).
Oracle does not rebuild indexes during inserts - please RTFM. Index organized tables are not good candidates for tables with a lot of DML - performance issues.
Alex Hillman
-----Original Message----- From: Saurabh Sharma [SMTP:saurabhs_at_fcsltd.com] Sent: Tuesday, March 27, 2001 3:31 AM To: Multiple recipients of list ORACLE-L Subject: Re: Insert well Kevin Kostyszyn, this is true that often we ignore such small issues which sometime impact the performance a lot. ya, it's good if we do inserts and then rebuild the indexes, but generally not done during usual work., since every time u insert records , oracle rebuilds the index itself with every entry (..if i'm not correct pls suggest..) and thus impact ther performance. we certainly have an alternative to this situation, where we have Index organised tables..which do not build index on tables rather it stores the table as index.. but has its own ups and down sides.. saurabh ----- Original Message ----- To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> Sent: Tuesday, March 27, 2001 2:56 AMsubscribing).
> Hi DBA's,
> One of my developers just asked me a question, and honestly I
don't know
> what he's talking about. But, it made me think of my own that I
do know the
> answer to or at least I used to:( Anyway, when doing an insert
into a
> table, doesn't it increase performance to delete any indexes, do
the insert
> then rebuild the index. Or do you just have to disable the index?
Also,
> does this work the same for delete? Also...is there anyway to
guestemate
> how long an insert is going to take?
>
> Sincerely,
> Kevin Kostyszyn
> DBA
> Dulcian, Inc
> www.dulcian.com
> kevin_at_dulcian.com
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Kevin Kostyszyn
> INET: kevin_at_dulcian.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
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Saurabh Sharma INET: saurabhs_at_fcsltd.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: Hillman, Alex INET: Alex.Hillman_at_usmint.treas.gov 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 Mar 27 2001 - 07:29:24 CST
![]() |
![]() |