Plan is getting changed
sree, July 27, 2024 - 5:28 am UTC
I have multiple Merge statements for updating the partitions tables from other tables.
the process is running fire for fee time, all of sudden one simple insert/merge will get stuck with plan change which was running in few seconds will get stuck for 5 to 7 hrs. and only way is to kill
how can we avoid such scenarios.
i have 1000 of insert and update, not sure which one and when it will be stuck.
my complete process takes 2 hrs to completed, after 1:30 mins it gets stuck in some insert/update and have to kill and rerun.
any easy way to control such often plan changes foe this kind of situations