Pk index ignored and full table scan initiated
Suddenly a trivial delete that ran happily for years has now started a full table scan onowner1.ACTION_LOG increasing the run time from a few minutes to sometime near infinity. There has been no schema or data volume changes.The query is below. The column action_log_id is the PK index column. Stats are up to date . I have tried using the index hint and parallel hint to no avail. Any suggestions ? running 11.2.0.3
DELETE FROM owner1.ACTION_LOG WHERE ACTION_LOG_ID IN
(SELECT distinct ACTION_LOG_ID FROM owner2.WK_HKP_ACTION_LOG_IDS) and rownum < 100000