I have a procedure that is run often (~1000x every 5 mins) in Oracle 10g. The basic idea is to refresh data in a table based on the PK.
Which has a better performance in terms of IO/CPU load on the database? DELETE
by PK then INSERT
or a MERGE
on PK?