Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Deleting large table and the correct log buffer size
WE had a similar bad response when deleting from a 16 million row table.
Due to certain circumastances we were unable to truncate ... only delete.
We found 2 things that caused the big slowdown.
We ended up rebuilding it twice. The first time , the delete litterally took hours. The second time (After the extent problem was taken care of), the delete took minutes.
I am curious as to how many extents that table has.
-----Original Message-----
Sent: Wednesday, June 26, 2002 3:35 PM
To: Multiple recipients of list ORACLE-L
Hi Jared,
Our developers are expecting it to be equivalent Sybase response time
which is less than 2 minutes. We are
moving from Sybase to Oracle. But Oracle beats Sybase response time in all
other SQL queries. I was trying to see
whether any incorrect init params are set.
Thanks
Vasu
Jared.Still_at_radisys.com wrote:
> Personally, I'd be pretty happy with a 400K row delete
> only taking 10 minutes.
>
> Jared
>
> "Vasu Ramasamy" <vasu.ramasamy_at_sri.com>
> Sent by: root_at_fatcity.com
> 06/26/2002 09:49 AM
> Please respond to ORACLE-L
>
>
> To: Multiple recipients of list ORACLE-L
<ORACLE-L_at_fatcity.com>
> cc:
> Subject: Deleting large table and the correct log buffer
size
>
> Hello Gurus,
> Ours is basically a Sybase shop. But moving towards Oracle. We are in
> the process of conversion. I have a problem in deleting a large number
> of rows. To delete 400,000 rows approx., it takes nearly 10 minutes to
> complete and sometimes hogs system. It is a simple delete statement,
> delete all rows. We do not want to use truncate statement. I try to find
> why it is taking so much time by checking the wait events. The session
> event wait statistics is provided below.
>
> SIDEVENT
> TOTAL_WAITS TOTAL_TIMEOUTS TIME_WAITED
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Kevin Lange INET: kgel_at_ppoone.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 Wed Jun 26 2002 - 15:58:41 CDT
![]() |
![]() |