I need to delete records from several large tables - 1 million plus
rows. Some of these tables have nested foreign key relationships.
When I perform the delete statements, it can take forever as the
database works out the key relationships and commits things to the log.
Is there a way to speed up some of these deletes with out writing the
information to the database logs?
I am going to probably drop the RI on the tables and manually delete
from the child tables to improve things.
Any tips or suggestions would be appreciated. We have been using the
db2 loader with "replace" functionality but have new requirements that
prevent us from overwriting all the data.
Thanks,
Michael