March 12, 2014 at 12:29 am
Hi ,
Can anybody share dmv queries to achieve the following ?
1. Query to capture frequently used stored procedure
2. Query to capture frequently used ad-hoc queries
3. Query to capture worst performing stored procedures
4. Query to capture worst performing queries
Thanks in Advance.
March 12, 2014 at 2:21 am
Play around with sys.dm_exec_query_stats for all of those and be aware that you may well not be getting the full picture.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 12, 2014 at 6:06 am
Okay. Thank you Gail.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply