Skip to content
Performance Tuning And Infra Automation

I love performance tuning and building automation

  • Home
  • About Me
  • All Articles
  • Contact Me
  • Home
  • Pretty Links
  • Privacy Policy
  • SQL Resources
  • facebook.com
  • twitter.com
  • t.me
  • instagram.com
  • youtube.com
Subscribe

execution plan

  • Home
  • execution plan
Question/Answer – Should I filter the data in Sub Queries??
Posted inExecution Plan Performance Tuning TSQL

Question/Answer – Should I filter the data in Sub Queries??

Recently a good friend of mine asked me question whether is there any performance benefit in filtering the data out in subqueries, and then joining them. Well, answer is NO.…
Posted by Ajay Dwivedi May 28, 2018
Should we check [context_switches] for SQL Server Query from Performance Point
Posted inPerformance Tuning TSQL

Should we check [context_switches] for SQL Server Query from Performance Point

Hi Friends. If you are wondering if we should check [context_switches] counter for SQL Server Queries while performance tuning, then here is the official verdict from Paul Randal. Thanks Friends!…
Posted by Ajay Dwivedi May 27, 2018
[sp_HealthCheck] – Get SQL Server Health Details
Posted inExecution Plan Health Check

[sp_HealthCheck] – Get SQL Server Health Details

Hi Friends, Ever wanted to check the heartbeat of SQL Server. It is a very common activity for a SQL Server user to check CPU, SQL Memory Utilization, Available Memory…
Posted by Ajay Dwivedi March 31, 2018
What’s Running – Find All Details of Running Queries
Posted inExecution Plan Health Check Performance Tuning

What’s Running – Find All Details of Running Queries

I often see DBAs/developer struggling to find what's wrong with query. The first step in troubleshooting queries is finding out information like batch text, query text, batch execution plan, individual…
Posted by Ajay Dwivedi March 30, 2018
Posted inExecution Plan Performance Tuning

Procedures with RECOMPILE Option

Hi Friends, I often work on Performance Issues, and I found that developers use RECOMPILE option without even understanding it thoroughly. Instead of resolving the performance issue by query tuning,…
Posted by Ajay Dwivedi January 7, 2018
Non-Trusted Foreign Keys
Posted inInternals Performance Tuning TSQL

Non – Trusted Foreign Keys in SQL Server

Today, I was working with one user to troubleshoot their query timeout issues. Analyzing wait stats on server, I found 'LCK_M_X' wait to be most prominent wait on server. This…
Posted by Ajay Dwivedi July 17, 2017
Posted inPerformance Tuning

Log all Activities using sp_WhoIsActive – 2

Hi Friends, in my previous blog post Log all Activities using sp_WhoIsActive, I shared how easy it is to log all sql server sessions using sp_whoIsActive and SQL Server Agent…
Posted by Ajay Dwivedi May 4, 2017
Optimize for TSQL Query Hint
Posted inPerformance Tuning TSQL

Optimize for Value – TSQL Query Hint

Today, I was working on an incident of slow running procedure. Procedure was running fine for most of the parameter values but, was getting stuck for few values. I could…
Posted by Ajay Dwivedi January 3, 2017
Query Optimization 03 – Users statistics (individual user) [StackOverflow]
Posted inExecution Plan Performance Tuning TSQL

Query Optimization 03 – Users statistics (individual user) [StackOverflow]

Hi Friends, this is my 3rd blog post of series Query Optimization. In last blog post Questions and Answers per Month, we took optimization decision by analyzing warnings suggested by…
Posted by Ajay Dwivedi November 27, 2016
Query Optimization 02 – Questions and Answers per Month [StackOverflow]
Posted inExecution Plan Performance Tuning

Query Optimization 02 – Questions and Answers per Month [StackOverflow]

Hi Friends, this is my 2nd blog post of series Query Optimization. In 1st blog post What is my accepted answer percentage rate, we took optimization decision based on Logical…
Posted by Ajay Dwivedi November 21, 2016
Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 100 other subscribers
See what other community members think about SQLMonitor.
Recent Posts
  • Get StackOverflow2013 Database for PostgreSQL & SQLServer
  • Error/Fix: Cannot Insert Duplicate Key for UPSERT Code in SQLServer
  • LogRotate Policy For PostgreSQL
  • Run Ansible Playbooks with Github Action
  • SQLServer Gradually Becomes Slow Until Reboot
Facebook With Ajay Dwivedi
Facebook With Ajay Dwivedi

CATEGORIES

  • Ansible 1
  • Baseline-SQL-Server 22
  • Database Administration 11
  • DevOps 1
  • Errors 15
  • Execution Plan 8
  • Growth & Development 2
  • Health Check 8
  • Internals 3
  • Linux 4
  • Performance Tuning 35
  • PostgreSQL 3
  • Powershell 8
  • SQL Alerts 5
  • SQLMonitor 17
  • TSQL 41
Copyright 2025 — Performance Tuning And Infra Automation. All rights reserved. Bloghash WordPress Theme
Scroll to Top