471,072 Members | 1,399 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,072 software developers and data experts.

How to improve deletes on a non partitioned table with no indexes

Dear oracle gurus,

I have created a non partitioned table with no indexes and stuffed in
about 15 million rows. Using oracle 8.1.7.4 standard. I then deleted 1
million and it took 1 solid hour. How can i reduce the time for
deletes? Since oracle default locking behavior is row level locking, i
changed to lock the table in exclusive mode before deleting. This dint
help..

Any clues,
avsrk
Jul 19 '05 #1
1 2857
One way to improve your performance would be to avoid the delete. Create a
new table as select from the original table, excluding the rows you want to
eliminate. Then, drop the original table and rename the new one to the
original name.

Tim

"Subrahmanyam Arya" <av***@mailcity.com> wrote in message
news:25*************************@posting.google.co m...
Dear oracle gurus,

I have created a non partitioned table with no indexes and stuffed in
about 15 million rows. Using oracle 8.1.7.4 standard. I then deleted 1
million and it took 1 solid hour. How can i reduce the time for
deletes? Since oracle default locking behavior is row level locking, i
changed to lock the table in exclusive mode before deleting. This dint
help..

Any clues,
avsrk


Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Bing Wu | last post: by
reply views Thread by Damir | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.