rwozniak71
Programmer
Hi Folks,
I have a very large table with approximately 150 million rows at 300 kb each. I need to delete 4.3 million or so "junk" transactions and the deletes are taking so long the delete process would need to run for a week or so. Any suggestions on how to speed things up? Here are some parameters that I hope will help:
--Oracle Version 8i running on AIX 5.0 on a reasonably powerful server.
-- PL/SQL cursor based on a table scan of a table containing one column of all the invalid keys that need to be deleted (i.e. it's a straight SELECT)
-- Explain plan run on the DELETE statement that executes after every fetch shows that the unique index created to enforce the pk constraint is being utilized.
Any help would be appreciated,
Rob
I have a very large table with approximately 150 million rows at 300 kb each. I need to delete 4.3 million or so "junk" transactions and the deletes are taking so long the delete process would need to run for a week or so. Any suggestions on how to speed things up? Here are some parameters that I hope will help:
--Oracle Version 8i running on AIX 5.0 on a reasonably powerful server.
-- PL/SQL cursor based on a table scan of a table containing one column of all the invalid keys that need to be deleted (i.e. it's a straight SELECT)
-- Explain plan run on the DELETE statement that executes after every fetch shows that the unique index created to enforce the pk constraint is being utilized.
Any help would be appreciated,
Rob