468,256 Members | 1,451 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,256 developers. It's quick & easy.

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 2743
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
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.