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

Query Tuning

  • Home
  • Query Tuning
  • Page 2
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
Analyzing Deadlock Issues
Posted inErrors Performance Tuning

Analyzing Deadlock Issues

I often receive the question - what is the best way to find issues when client/user complaints of deadlock issues? Msg 1205, Level 13, State 51, Line 10 Transaction (Process…
Posted by Ajay Dwivedi February 21, 2017
Setup fresh/Scriptout Existing Mirroring on SQL Server
Posted inDatabase Administration

Setup fresh/Scriptout Existing Mirroring on SQL Server

In my current organization, we have lot of servers where database mirroring is used as a disaster recovery option. Either we are setting up mirroring from scratch or dropping the…
Posted by Ajay Dwivedi January 25, 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
Result Set of [sp_WhoIsActive]
Posted inPerformance Tuning

Log all Activities using sp_WhoIsActive

It is not a new thing for a DBA to check what's running currently on server in order to figure out issues. My personal favorite tool for finding out current…
Posted by Ajay Dwivedi December 28, 2016
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
Query Optimization 01 – What is my accepted answer percentage rate [StackOverflow]
Posted inExecution Plan Performance Tuning

Query Optimization 01 – What is my accepted answer percentage rate [StackOverflow]

I am very often asked on how to start query tuning which gave me an idea to start a Query Tuning blog series. I shall be taking random and slow…
Posted by Ajay Dwivedi November 14, 2016
Why my query is slow?
Posted inExecution Plan Performance Tuning

Why my query is slow?

I often receive questions by developers and DBAs on how to find what's the issue with their query or why it is so slow. This was a similar case. One…
Posted by Ajay Dwivedi November 12, 2016

Posts pagination

Previous page 1 2 3 Next page
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 2026 — Performance Tuning And Infra Automation. All rights reserved. Bloghash WordPress Theme
Scroll to Top