If you are on 15.7sp130+, use update statistics with hashing instead of update statistics with sampling. My opinion is that it is more accurate than sampling and definitely would eliminate the issue with tempdb as it uses next to nothing for tempdb space - result is it often is much faster was well due to not having to wait for IOs.
↧