| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Many inserts &deletes, fastest way to delete?
Hi.
My idea is about the same - avoid DELETE online.
In any case - such tables prone to fragmentation. TRUNCATE them from time to time.
Good luck. Michael.
In article <7mpnsc$9oq$1_at_nnrp1.deja.com>,
bonanos_at_yahoo.com wrote:
> Hail World Programmers.
>
> I have a group of tables that I insert many records into.
> I also delete all records that are more than five minutes old.
> Currently, through PL/SQL before I do the inserts, I call a procedure
> that delete all aged records, if there have been many inerts, the
> deletes take a few seconds, which causes a delay in my web
application.
>
> Is there a way to speed this up, If I leave the records in the tables,
> and do a check every hour etc, will this be faster, should I
investigate
> temp tables in 8i.
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Wed Jul 21 1999 - 15:42:01 CDT
![]() |
![]() |