rwozniak71
Programmer
Hello Folks,
I need to delete and reload a small subset of data (3-4,000,000 rows) from a very large table (140,000,000 rows). The large table had indexes and a partition (that cannot be truncated for this purpose).
Any advice on an approach? Most of what I found seems to take forever (cursor loop, delete statement based on selected keys) even when the delete statement uses the index. I tried subpartitioning and the hash partition put all the "sub" records in with the others.
Any advice for speed? I'm running out of options. Suggestions appreciated.
Rob
I need to delete and reload a small subset of data (3-4,000,000 rows) from a very large table (140,000,000 rows). The large table had indexes and a partition (that cannot be truncated for this purpose).
Any advice on an approach? Most of what I found seems to take forever (cursor loop, delete statement based on selected keys) even when the delete statement uses the index. I tried subpartitioning and the hash partition put all the "sub" records in with the others.
Any advice for speed? I'm running out of options. Suggestions appreciated.
Rob