I have 2 sql servers (Server 1 and Server 2) and each has database having same schema. Basically its for two different location. As usual these server has maintenance plan with statistics job with full scan for all statistics on the databases. It was running fine for years. Suddently i see issues while its running update statistics on nightly. Its got stuck at one table and keep executing (more than 14 hrs…) so i manually killed on Server 1. (No issues on Server 2)
Interesting thing, Server 2 table contains 40 million rows, but Server 1 table contains only 26 million causing the issue.
I thought of revising the update statistics by removing full scan and go with sampling etc… but before to do that, need to understand what is causing server 1 stat failed.
Any suggestions? Please advise.