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
Well, that doesn't help much... log_buffer size looks okay to me.
If indexes on this table are not required, I would consider dropping them and re-creating after the deletion is done.
-----Original Message-----
Sent: Wednesday, June 26, 2002 3:35 PM
To: Multiple recipients of list ORACLE-L
Hi kirti,
My responses are embedded in your message.
Thanks
Vasu
"Deshpande, Kirti" wrote:
> Are the disks housing redo logs contain other 'hot' files? Are these disks
> busy with other tasks (than writing redo logs).
No. Though there are db files in its disks, they are not that active. More over, the server where I perform this test is totally quiet.
> Are you committing too
> often?
No. There is only one commit after the delete statement.
> How many log switches are taking place?
10 or 11 switches
> What is the size of the redo
> log file?
100MB
> May be increasing it may help.
>
> What is the redo size per commit?
> Use this query to find out RSPC:
> select r.value / decode (c.value, 0, 1, c.value) RSPC
> from v$sysstat r, v$sysstat c
> where r.name = 'redo size'
> and c.name = 'user commits';
> You can use RSPC to size log buffer by multiplying it by number of user
> commits per second.
>
1104361.8003
>
> HTH,
>
> - Kirti
>
> -----Original Message-----
> Sent: Wednesday, June 26, 2002 11:49 AM
> To: Multiple recipients of list ORACLE-L
>
> 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: Deshpande, Kirti INET: kirti.deshpande_at_verizon.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 - 20:58:19 CDT
![]() |
![]() |