Table statistics are used by the query optimizer to estimate the cost of executing a query. If the table statistics are out of date, the query optimizer may choose an inefficient execution plan, which can lead to poor performance. It is therefore important to regularly check if the table statistics are locked.
There are two ways to check if the table statistics are locked: