I have a table with about 100k records and I want to delete some rows, The problem is that the DELETE
statement is running very slowly - it didn\'t finish in 30 min
When DML operations take a long time, create new table with the remaining rows and drop the previous table, instead of deleting.
I mean,
create table NEW_TABLE as
select * from daily_au_by_service_summary
where summary_ts <= to_date('09-04-2012','dd-mm-yyyy');
This will be faster, especially when you are deleting a substantial number of rows. (%10 of total rows, for example.)