I have a table with about 100k records and I want to delete some rows, The problem is that the DELETE
statement is running very slowly - it didn\'t finish in 30 min
There can be many reasons:
SELECT
is fast)LOB
s, many columns).If the foreign keys are the problem, the usual solution is to add indexes on the foreign column: For each delete, Oracle needs to check whether this would violate a foreign key relation.