Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

How to update statistic sql server and how optimizer use indexes to update auto-created statistics?

Asked by Clare Matthews Apr 22, 2021 1.9K views 1 answer
Share

About this question

Consider the scenario where auto-created statistics are created on a column to satisfy a query. Afterward; a nonclustered index is created on the column, with or without other key columns. Could the SQL Server optimizer leverage indexes to update these auto created statistics when running UPDATE STATISTICS statements? Is there a difference between (default) sample rates & fullscan statistic updates when adding these indexes? How to update statistic sql server?SELECT @@VERSION; Microsoft SQL Server 2017 (RTM-CU12) (KB4464082) - 14.0.3045.24 (X64) Oct 18 2018 23:11:05 What is update statistics SQL Server?


Your answer

1 Answer

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.