Hi all,I've been searching for a tool that would take a query (sql server) and generate alternatives and execute each x number of times so that you can see its performance and sort by that. I remember using something exactly like this at my previous job for an Oracle db. Anyone know what I can use for SQL Server 2014?Backstory: The query is part of a stored proc, and was running ok in SQL Server 2012. The system was recently upgraded to 2014, and the s.proc is taking so much longer than before.I've tried:- changing the order of the joins, putting the direct joins (1 to 1) on top.- removing the [b][u]TOP 50000[/u][/b] from the query.I know it's not much that I've tried, but I'm not sure what else to try. I've come across the use of [url=https://msdn.microsoft.com/en-us/library/ms187611.aspx]SQL Server Profiler[/url], to execute the s. proc as a privileged user, but I'd rather not have to ask for admin credentials. And I've also seen where you can specify to execute the query under a previous SQL Server build performance, but this requires a privileged user also.What am I missing here?Thanks in advance,-Rudy.
↧