I have run some SQL tuning processes on usual Bugnet daily uses from a team of 6 people. There are some indexes and statistics missing that when added can give an estimated 26% performance improvement. I have attached the script for your review and potential inclusion in the next version.
Profiled on SQL Server 2012.
What are statistics:
"Statistics are used by the query optimiser to calculate the cost of the query plans. If the statistics are missing or out of date it does not have correct data to estimate the plan. In this case it can generate query plans that are moderately or highly sub-optimal."
Profiled on SQL Server 2012.
What are statistics:
"Statistics are used by the query optimiser to calculate the cost of the query plans. If the statistics are missing or out of date it does not have correct data to estimate the plan. In this case it can generate query plans that are moderately or highly sub-optimal."