I am writing a simple update query to update almost 33K records, but the query is taking almost 243s to execute which is a hell of a time.
here is my query
UPDATE Central.stg_roll_header stg
SET stg.is_updated = 'I'
WHERE stg.id IN (
SELECT roll_header_temp.id
FROM roll_header_temp
);
and this is my explain plan
Edit Plan
Kindly tell me how can i optimize my update query as data is growing day by day and i have yet not found any soultions other than making the chunks of update data and than updating it
