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
Explain boyce and codd normal form(bcnf)?
Does full backup break log chain?
State the difference between union and union all?
Please explain that what are the basic functions for master, msdb, model, tempdb and resource databases? : SQL Server Architecture
What is a result set object returned by odbc_exec()?
Explain what are the authentication modes in sql server?
what are the reporting service components in SSRS?
What is instead of trigger sql server?
What is the osql utility?
What is the difference between a "where" clause and a "having" clause?
Can we write a distributed query and get some data which is located on other server and oracle database?
How to convert binary strings into integers in ms sql server?
How do I completely remove sql server instance?
How to disable a login name in ms sql server?
What are the different types of locks in the database?