I would like a tool that monitors sql server while I test my application. THe applicatino will of course run different queries.
From the tool I would like an output like:
– this query was slow because index is missing on this field
and this kind of info.
But I’d like to have a way to highlight crucial data, there can be for example 100 index missing, but 99 of them would improve the performance of 0.05%, while one of those would give a 6000% benefit on a query. So Highlighting hot spots is important too.
Also a commercial product (with full features – no limited – trial) is desired.
You don’t exactly need a tool. I personally use the following query to show me what indexes SQL Server thinks it needs, this shows how often SQL Server looked for the index, estimated improvement etc…
If you want to identify slow queries SQL Profiler is your friend, just set a filter on duration and you’re set. Then run this query through the Database Engine Tuning Advisor (both come with SQL Server).