Optimizing massive DELETE operations
by Wolfram Saringer (2009-06-04)
last change: 2009-06-04
Interesting article on how to get optimal performance when deleting vast amounts of data while keeping some records (i.e.
no TRUNCATE). Essentially the trick is inserting data to keep into a temporary table using direct-path INSERT on a table without
a primary key index.