Collecting stats is a time and resource consuming process so if the columns are not used then you should avoid it. But if the columns are not used in the query then there is no impact on the query performance. The stats only come into play if the columns/index on which the stats are collected are used in the joining condition!
↧