Sql plan change
The sql job(MV refresh) schedule concurrent job was running fine however suddenly it was running for more than 7 hour and spinning upon investigation it was observed the sql plan have got changed ,
So the question is how the sql plan of the job got changed when there is no data update /change happen also every weekend gather schema stats job run.
Does gather schema jobs have any impact on the sql plan ? if yes then should we run gather schema stats job or what should be the approach on running gather schema stats
how to enforce the best sql plan and best sql plan should not age out ?