Skip to content
  • Facebook
  • GitHub
  • YouTube
  • Pinterest
My Tec Bits
  • Home
  • Microsoft
    • .Net
      • ASP.NET
      • MVC
      • Visual Studio
    • IIS
    • SQL Server
      • SQL Server 2019
      • SQL Server 2017
      • SQL Server 2016
      • SQL Server 2014
      • SQL Server 2012
      • SQL Server 2008
    • Windows OS
  • Web Development
    • Java Script
    • Jquery
    • Python
    • Bootstrap
    • Zurb Foundation
    • Web Security
  • More
    • macOS
    • Reviews
  • Online Tools
    • Fitness Calculators
    • Encoders & Decoders
    • Cryptography
    • Unit Converters
    • Math. Calculators
    • Date & Time Calculators
    • Finance Calculators

Performance

T-SQL query to find deadlocks in SQL Server

Aug 9, 2020 by Beaulin Twinkle
T-SQL query to find deadlocks in SQL Server

Here is the quick query to find deadlocks which I have used for long time. This statement is based on the SYS.DM_EXEC_REQUESTS dynamic management view.

Categories SQL Server Tags Performance, SQL, SQL Server 2019, SQL Tips, Transact-SQL (T-SQL) Leave a comment

Collecting Poor Performing Queries And Storing Them For Analysis (Using Extended Events)

Dec 20, 2018 by Beaulin Twinkle
Using Extended Events Demo 01

Simple step by step illustration for collecting poor performing queries or batches and store them for further analysis in SQL Server using Extended Events.

Categories SQL Server Tags Extended Events, Performance, SQL, Transact-SQL (T-SQL) Leave a comment

Collect Poor Performing Queries And Store Them (Using Profiler)

Dec 20, 2018Dec 16, 2018 by Beaulin Twinkle
Collect Poor Performing Queries

How to collect poor performing queries or batches and store them in a database table for further analysis in SQL Server using MSSQL Profiler?

Categories SQL Server Tags Performance, SQL, SQL Server Profiler, Transact-SQL (T-SQL) Leave a comment

Union vs Union All – Usage and Performance In SQL Server

Jul 31, 2019Sep 6, 2017 by Dahlia Sam
UNION vs UNION ALL in SQL Server

Difference between union and union all. Performance comparison of union vs union all and identifying the best one to use and the scenarios to use them.

Categories SQL Server Tags Performance, SQL, SQL Server 2008, SQL Server 2012, SQL Server 2014, SQL Server 2016, Transact-SQL (T-SQL) Leave a comment

Finding Deadlocks Using Extended Events In SQL Server

Jul 30, 2020May 27, 2017 by Beaulin Twinkle
Deadlocks Using Extended Events 04

Finding the deadlocks and blocked processes using extended events In SQL Server. Collecting deadlocks using extended events

Categories SQL Server Tags Extended Events, Performance, SQL, SQL Server 2014, SQL Server 2016 Leave a comment

How To Find Long Running Stored Procedures In SQL Server?

Jul 31, 2019May 16, 2017 by Beaulin Twinkle
Find Long Running Stored Procedures - Extended Events 07

How to find long running stored procedures In SQL Server? Step by step illustration to find slow running SQL Server stored procedure.

Categories SQL Server Tags Extended Events, Performance, SQL Server 2014, SQL Server 2016, SQL Server Profiler Leave a comment

What Are Extended Events In SQL Server?

Jan 24, 2020Apr 28, 2017 by Beaulin Twinkle
Extended Events Architecture

What Are Extended Events In SQL Server? What are the advantages of extended events over profiler? How to use SQL Server XEvents?

Categories SQL Server Tags Extended Events, Performance, SQL Server 2014, SQL Server 2016, SQL Server Profiler 2 Comments

SQL Server: Does WITH (NOLOCK) increase performance?

Jul 31, 2019Jun 28, 2013 by Beaulin Twinkle
SQL-Server-With-NoLock-2

Does with (nolock) increase performance in T-SQL Queries? Can you increase the performance of SQL queries by adding WITH NOLOCK? Lets find out.

Categories SQL Server Tags Performance, SQL, SQL Server 2012, SQL Server 2014, SQL Server 2016 1 Comment

count(*) or count (1) or count(”) Which is better in SQL server?

Jul 31, 2019Jun 19, 2013 by Beaulin Twinkle
SQL-Server-Count-2

SQL Server: count(*) or count (1) or count(”) Which is better? Let’s do an experiment to find the better option among the count.

Categories SQL Server Tags Performance, SQL, SQL Server 2012, SQL Server 2014, SQL Server 2016 Leave a comment

Does Index Improve SQL Server Query Performance?

Jul 31, 2019Jun 18, 2013 by Beaulin Twinkle
SQL-Server-Index-Performance-2

Does Index Improve SQL Server Query Performance. Yes Index improves the SQL Server query performance to a large extend. Let’s do an experiment.

Categories SQL Server Tags Performance, SQL Leave a comment

Installing and Using YSlow for Code Review

Jul 31, 2019Jun 17, 2013 by Beaulin Twinkle
YSlow On Firefox-5

Detailed step by step instructions with pictures on Installing and Using YSlow on Firefox and Chrome browsers for Code Review.

Categories Internet & Web Dev., Java Script, Reviews, Web Security Tags HTML, Performance, Web Site 2 Comments

Clear Cache and Buffer of Stored Procedure in SQL Server

Jul 31, 2019Jun 6, 2013 by Beaulin Twinkle
DBCC-FREEPROCCACHE-DROPCLEANBUFFERS

Professional way to clear cache and buffer of SQL Server Stored Procedure for performance testing without restarting the server or recreating the procedure.

Categories SQL Server Tags Performance 1 Comment

SP_WHO and SP_WHO2

Jul 31, 2019Jun 5, 2013 by Beaulin Twinkle

SP_WHO and SP_WHO2 – Brief description about Microsoft system stored procedures SP_WHO and SP_WHO2. SP_WHO vs SP_WHO2 which one to use when.

Categories SQL Server Tags Performance, SQL Leave a comment

ASP.NET Caching with SqlCacheDependency

Jan 7, 2019Aug 14, 2012 by Beaulin Twinkle
Bootstrap3 with ASP.NET MVC5 and EF6 18

ASP.NET caching technology has various technique for specific caching requirements. SqlCacheDependency class is one among them.

Categories .Net, IIS, SQL Server Tags ASP.NET, Performance Leave a comment

Using isnull in where clause is expensive in SQL Server

Aug 18, 2018May 26, 2012 by Beaulin Twinkle
My-Tec-Bits

Using isnull in where clause is expensive in SQL Server. How to avoid useing isnull? Simple way to use case instead of isnull in where clause.

Categories SQL Server Tags Performance, SQL 3 Comments

Article Categories

  • Android (2)
  • Apple (22)
    • macOS (22)
  • Internet & Web Dev. (152)
    • DNN (4)
    • Java Script (10)
    • Jquery (8)
    • PHP (7)
    • Python (83)
    • Twitter Bootstrap (25)
    • Web Security (11)
    • Zurb Foundation (6)
  • Linux (4)
  • Microsoft (318)
    • .Net (69)
    • IIS (10)
    • Internet Explorer (3)
    • Office (2)
    • SQL Server (225)
    • Windows (24)
  • Networks And Distributed Systems (2)
  • Oracle (7)
    • Java (2)
    • Oracle Database (5)
  • Others (6)
  • Reviews (10)

Recent Articles

  • Installing .NET SDK in Linux Mint and debugging C# code using VS Code Jun 21, 2024
  • Generating random number in C#  Jun 6, 2024
  • How to calculate running total in SQL Server? Apr 27, 2024
  • How to import XML data into SQL Server using SELECT query? Apr 10, 2024
  • How to prevent VS Code from replacing an already opened preview tab with a subsequently opened one? Mar 13, 2024
  • Separating letters and numbers from strings in SQL Server Mar 6, 2024
  • How to call or run another application from python code? Feb 15, 2024
  • How to store images in SQL Server? Jan 17, 2024
  • Error: A table that has FILESTREAM columns must have a nonnull unique column with the ROWGUIDCOL property. Jan 8, 2024
  • Fix for Error: “FILESTREAM feature is disabled” while adding FILESTREAM Jan 4, 2024

Subscribe MyTecBits.com

Online Tools

  • Fitness Calculators
  • Encoders & Decoders
  • Cryptography
  • Unit Converters
  • Math. Calculators
  • Date & Time Calculators
  • Finance Calculators

Popular Articles

  • Where is SQL Server Configuration Manager?
  • Joining Tables from Databases on Different SQL Servers
  • SQL Server: Search and Find Table by Name
  • How to exit from single-user mode in SQL Server database?
  • T-SQL query to find deadlocks in SQL Server
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use. Learn more...
  • Home
  • About Us
  • Contact Us
  • Site Map
  • Terms Of Use
  • Privacy Policy
© 2012 - 2025 My Tec Bits. All Rights Reserved.