I have query like this:
MERGE INTO table1 t1 USING
(SELECT t2.id ,
t2.updated ,
t2.data
FROM table2 t2) sel ON (sel.id = t1.id
AND sel.updated = t1.updated) WHEN MATCHED THEN
UPDATE
SET t1.data = sel.data;
In plan I see INDEX FULL SCAN on table2 and TABLE ACCESS FULL on table1. Then this tables join using HASH JOIN. Both tables have indexes including id, updated and data fields.
Is there any way to remove TABLE ACCESS FULL and use faster way to access table1?