In this article, we will learn how to interpret an execution plan of a SQL Server insert statement.
Read more »Esat Erkec
- SQL Performance Tuning tips for newbies - April 15, 2024
- SQL Unit Testing reference guide for beginners - August 11, 2023
- SQL Cheat Sheet for Newbies - February 21, 2023
How to handle 100 million rows with SQL Server BCP
April 9, 2021In this article, we will explore the Bulk Copy Program tool that is also known as the SQL Server BCP tool. BCP allows us to export data into particular flat-file formats from SQL Server, and it also enables us to transfer data between different SQL Server instances or into the SQL Azure.
Read more »Query Optimization in SQL Server for beginners
April 5, 2021This article intends to give some details about the query optimization process in SQL Server.
Read more »Overview and Performance Tips of Temp Tables in SQL Server
March 31, 2021In this article, we will learn the essentials of the temp tables in SQL Server and we will also discuss some performance tips about temporary tables.
Read more »Query Optimization Myths
March 23, 2021In this article, we will talk about two query optimization myths and these myths can be changed according to the characteristics of the queries. Every query can exhibit different behaviors according to data distribution, SQL Server version, database settings, and other tons of parameters therefore the fixed ideas may not help to overcome the query performance issues. In the next part of the article, we will focus on the following most known discourse:
Read more »Symptoms of Parameter Sniffing in SQL Server
March 17, 2021In this article, we will focus on how we can detect the parameter sniffing issues with different techniques.
Read more »Using Automatic Plan Correction for Query Tuning
March 4, 2021In this article, we will learn what is plan regression and how we can fix this issue with help of the Automatic Plan Correction feature.
Read more »Modes of Transactions in SQL Server
February 17, 2021In this article, we are going to talk about the modes of transactions in SQL Server.
Read more »Transactions in SQL Server for beginners
February 10, 2021In this article, we will talk about fundamental details of the transactions in SQL Server.
Read more »Getting started with SQL Programming
February 3, 2021Learning SQL programming is valuable for our career and might help to increase our incomes but most importantly it will be the best investment you will make for yourself. However, beginners don’t know the exact starting point to begin learning the SQL language. Learning SQL depends entirely on your effort and desire, and other things are just details. This article will give some tips on how to learn SQL without going into technical details so that so you can get started in learning SQL right now.
Read more »How to read an execution plan with all details
January 28, 2021In this article, we will discuss how to read the SQL Server execution plan (query plan) with all aspects through an example, so we will gain some practical experience that helps to solve query performance issues. Interpreting query plans correctly is the first and major principle to troubleshoot query performance issues. When we try to find an answer to the “why is this query running slow?” question, the best starting point would be to analyze the query plan.
Read more »SQL SELECT TOP statement overview and examples
January 25, 2021In this article, we will learn how to use SQL SELECT TOP queries and we will also reinforce this learning using examples.
Read more »SQL Server ORDER BY performance tips
January 5, 2021In this article, we will explore how the ORDER BY statement affects the query performance and we will also learn some performance tips related to sorting operations in SQL Server.
Read more »Explore the secrets of SQL Server execution plans
December 10, 2020The SQL Server execution plan (query plan) is a set of instructions that describes which process steps are performed while a query is executed by the database engine. The query plans are generated by the query optimizer and its essential goal is to generate the most efficient (optimum) and economical query plan. Some query plans that are created by the query optimizer contain some interesting characteristics. In this article, we will go into details of these interesting query plans.
Read more »A case study of SQL Query tuning in SQL Server
December 8, 2020Gaining experience in SQL query tuning can be very difficult and complicated for database developers or administrators. For this reason, in this article, we will work on a case study and we are going to learn how we can tune its performance step by step. In this fashion, we will understand well how to approach query performance issues practically.
Read more »Query Tuning with SQL Server 2019
November 23, 2020In this article, we will talk about the query tuning features that were announced with SQL Server 2019.
Read more »Explore secrets of the SQL Server tempdb database
October 29, 2020In this article, we will uncover some secrets about the SQL Server tempdb database. Tempdb is a system database and it is used for various internal and user operations. Besides this, the tempdb has many unique characteristics, unlike the other databases. When we take into account all of these features of the tempdb, there is no doubt that it is an essential part of the SQL Server.
Read more »Boost SQL Server Performance with Wait Statistics
October 26, 2020In this article, we will explore, how we can increase SQL Server performance with the help of the wait statistics. Wait statistics are one of the most important indicators to identify performance issues in SQL Server. When we want to troubleshoot any performance issue, at first we need to diagnose the problem correctly because correctly diagnosing problems help with half of the solution. Now, let’s learn wait statistics which helps to identify performance issues properly.
Read more »Fixing Error 601: Could not continue scan with NOLOCK due to data movement
October 21, 2020Data consistency errors are the nightmares of database administrators (DBAs) and when we notice “Could not continue scan with NOLOCK due to data movement” explanation in any error message, we are sure of getting in trouble. In this article, we will discuss the details of this data consistency problem.
Read more »SQL Server Clustered Indexes internals with examples
October 14, 2020In this article, we will learn the SQL Server clustered index concept and some internal details. Indexes are the database objects that accelerate the performance of data accessing when are designed properly. A clustered index is one of the main index types in SQL Server and the working principle is a bit complicated but in the next sections of this article, we are going to simply learn the clustered index working principle and uncover the secrets.
Read more »Performing a Load Test on SQL Server using Apache JMeter
October 7, 2020In this article, we will learn how to use Apache JMeter to perform a load test on SQL Server. This test type enables us to measure the application behaviors under specific conditions so that it enables us to observe a variety of resource consumptions (CPU, memory, latency, response times, etc) and it also helps to detect the performance bottlenecks. Database testing can help to find out and identify the problem when the database working under high workloads with multiple users. The database people can identify and fix the performance issues before publishing the database into the production through these tests.
Read more »Improve SQL Server transaction log performance with Delayed Durability
September 29, 2020In this article, we will learn the Delayed Durability feature that helps to improve transaction log file write throughput in SQL Server.
Read more »Scalar UDF Inlining in SQL Server 2019
September 28, 2020In this article, we will explore a new SQL Server 2019 feature which is Scalar UDF (scalar user-defined) inlining. Scalar UDF inlining is a member of the intelligent query processing family and helps to improve the performance of the scalar-valued user-defined functions without any code changing.
Read more »How to parse JSON in SQL Server
September 15, 2020In this article, we will learn how to parse and query JSON in SQL Server with the help of the OPENJSON function. Firstly, we will briefly look at the data structure of the JSON and then we will learn details of the parsing and querying JSON data using the OPENJSON function.
Read more »Don’t fear SQL Server performance tuning
August 27, 2020In this article, we will learn some basic tips for SQL Server performance tuning. Tuning the SQL Server performance will help to access data faster so the applications data interaction performances will enhance.
Read more »