When do we use the UPDATE_STATISTICS command?

Answer Posted / nscom

There are three scenarios where you need to fire the update
statistics
1. Query execution times are slow.
2. Insert Operations Occur on Ascending or Descending Key
Columns
3. After Maintenance Operations - Operations that change the
*distribution of data" such as truncating a table or
performing a bulk insert of a large percentage of the rows.
More information is here
http://msdn.microsoft.com/en-us/library/ms190397.aspx#UpdateStatistics

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are data regions?

90


What is log in sql server?

588


Can you move the resources after pausing the node? : sql server database administration

594


What is the main purpose of having conversation group?

494


query processing

1736






What is database replication? What are the different types of replication you can set up in sql server?

500


What function does a database engine serve in the sql server?

569


What is store procedure? How do they work? When do you use?

509


What is difference between join and natural join?

477


what is raid and what are different types of raid configurations? : Sql server database administration

536


What is the recovery model?

553


How should i optimize the time for execution of stored procedure having single input and many output from the different tables?

1467


What are tables in sql server?

528


Tell me what are the essential components of sql server service broker?

508


What is data source in connection string?

488