Yes inserting into a table with an index does cause
degradation in the process, but it is very unrealistic
to drop and rebuild the index every time you do an
insert, unless it is a batch process that runs when no
other processing is being done. Also, deleting from
the index causes the index to be very fragmented and
eventually you will need to rebuild it to reclaim
unused space.
james
- Kevin Kostyszyn <kevin_at_dulcian.com> wrote:
> 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 subscribing).
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/?.refer=text
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: james ellis
INET: jellis24_gso_at_yahoo.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).
Received on Tue Mar 27 2001 - 08:04:10 CST