Finding expensive queries in SQL Server and performance optimization Part 2

preview_player
Показать описание

Finding expensive queries can be challenging on SQL Server, this tutorial will help you in finding expensive queries on production. Using below DMVs
SYS.DM_EXEC_QUERY_STATS
SYS.DM_EXEC_SQL_TEXT
SYS.DM_EXEC_CACHED_PLANS
SYS.DM_EXEC_TEXT_QUERY_PLAN

First is using average logical reads, execution count and total worker time. But still people can use other combinations as well.
I have also explained how missing index can also help in finding and fixing expensive queries.
Рекомендации по теме
Комментарии
Автор

Sir please give the query for finding missing indexes that u have shown in vedio .Thanks kanchan

Krishna-pkup
Автор

I want to improve my query performance I have 2lakhs of records those records I want with in a minute
I have used offset also but I want those all records to convert it into an excel in c#
Please give me any suggestions about this

saireddy
Автор

Hello sir, Please provide the script for finding missing indexes

RanjithKumar-rpjj