


Right-click on the statistics and go to properties.

We can get details about any particular statistics as well. Expand the object ( for example, HumanResources.Employee), and we can view all available statistics under the STATISTICS tab. We can view SQL Server statistics for an existing object using both SSMS and the T-SQL method.Ĭonnect to a SQL Server instance in SSMS and expand the particular database. We might also face blocking, deadlocks that eventually causes trouble to the underlying queries, resources.

Improper statistics might mislead query optimizer to choose costly operators such as index scan over index seek and it might cause high CPU, memory and IO issues in SQL Server. The query optimizer should be updated regularly. These statistics provide distribution of column values to the query optimizer, and it helps SQL Server to estimate the number of rows (also known as cardinality). SQL Server statistics are essential for the query optimizer to prepare an optimized and cost-effective execution plan. This article gives a walk-through of SQL Server Statistics and different methods to perform SQL Server Update Statistics.
