Are there any tools that do Query Optimizations for SQL Server 2005 and above?
I've searched & didn't find anything.
What do you recommend?
If this Question was repeated before you can close it but I didn't see anything similar
Are there any tools that do Query Optimizations for SQL Server 2005 and above?
I've searched & didn't find anything.
What do you recommend?
If this Question was repeated before you can close it but I didn't see anything similar
The best tool I've ever used for optimizing queries in MS SQL Server, by far, is the "Include Actual Execution Plan" option in Microsoft SQL Server Management Studio. It displays detailed information about the execution path taken by the server when running your query. (Note that this works best when there's data in the tables. Of course, without a good bit of test data, any optimization is purely theoretical anyway.)
It basically gives you three very important things:
In SSMS - Tools | Database Engine Tuning Advisor - Does not work on Express versions.
One very good tool and now free for use is Plan Explorer from SentryOne: https://sentryone.com/plan-explorer
(they also have many other optimization software, like Azure specific software etc.)
One of the best query optimizers is just running the query in SQL Management Studio, and then inspecting the query plan. This will give you clues as to what indexes it is (or is not) using, and how you can change the query to take advantage of those.
As John Saunders commented, the best tool at your disposal is your own mind. Following bernd_k's comment, here are a few suggestions for sharpening that tool.
Also this is a good tool for monitor and optimize queries:
Sql Monitor by Red Gate