Hi,
I have several tables where data is being loaded to all day/every day. About once a week I need to remove certain entries from these tables and I have created a procedure that selects the entries to delete and then steps through each table and deletes the appropriate records.
These tables are huge -- millions of rows each -- and the delete appears to be absolutely crawling. The delete is doing a simple:
delete from my_table where my_column = X;
Is there any way I can improve the performance of my delete statement?
Thanks,
toddyl
I have several tables where data is being loaded to all day/every day. About once a week I need to remove certain entries from these tables and I have created a procedure that selects the entries to delete and then steps through each table and deletes the appropriate records.
These tables are huge -- millions of rows each -- and the delete appears to be absolutely crawling. The delete is doing a simple:
delete from my_table where my_column = X;
Is there any way I can improve the performance of my delete statement?
Thanks,
toddyl