Getting the plan handle for a sproc
You can use this T-SQL to get the plan handle for a sproc that has a bad execution plan:
Make sure, to…
Read MoreYou can use this T-SQL to get the plan handle for a sproc that has a bad execution plan:
Make sure, to…
Read MoreViews – 2151
Read MoreSetting ANSI_NULLS ON will make make the Sprocs run fast. See this article: Query is fast but Sproc is slow Views – 1750
Read MoreHere is a great article on trouble-shooting T-SQL query slowness: Trouble-shooting SQL Server Slowness Views – 1753
Read MoreClustered Index Seek: performed where there is a WHERE clause and the search parameter is included in the clustered index. Clustered Index Scan:…
Read MoreNotes about DMV’s in General DMV data is discarded when the SQL Server service is restarted as it is stored in memory and…
Read MoreLife Cycle of a Query The command parser evaluates the query and generates a hash to see if the buffer pool has an…
Read More