Remove memory-optimized-table-variables-in-sql-server
article thumbnail

Memory-Optimized Table Variables in SQL Server

SQL Shack

This article will cover the usage details and performance advantages of the memory-optimized table variables. A table variable is a sort of variable that is used to store data temporarily. In this context, […].

Servers 66
article thumbnail

Additional T-SQL Improvements in SQL Server 2022

SQL Performance

Recently I covered some of the T-SQL improvements in SQL Server 2022 here , and Aaron Bertrand covered additional improvements here. Microsoft just announced the release of SQL Server 2022 CTP 2.1. This release includes a number of additional interesting T-SQL improvements, which include: The distinct predicate.

Servers 142
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

MySQL Performance Tuning 101: Key Tips to Improve MySQL Database Performance

Percona

MySQL performance tuning offers several significant advantages for effective database management and optimization. Reduced Resource Usage Optimizing resource-intensive queries and configurations can lead to a reduced burden on your server. This post was originally published in June 2020 and was updated in September 2023.

Tuning 52
article thumbnail

Fundamentals of table expressions, Part 3 – Derived tables, optimization considerations

SQL Performance

In Part 1 and Part 2 of this series, I covered the logical, or conceptual, aspects of named table expressions in general, and derived tables specifically. This month and the next I’m going to cover the physical processing aspects of derived tables. Both in terms of terminology and in terms of optimization.

C++ 109
article thumbnail

tempdb Enhancements in SQL Server 2019

SQL Performance

I have been making the same recommendations about tempdb since I started working with SQL Server over 15 years ago, when I was working with customers running version 2000. From the customer side, this has been the limit of what can be done*, until SQL Server 2019. I have SQL Server 2019 CTP 3.2

Servers 95
article thumbnail

The Lock Escalation Threshold – Part 3

SQL Performance

Locking optimizations. When SQL Server reads data under locking read committed isolation (the default for non-cloud offerings) and chooses row-level locking granularity, it normally only locks one row at a time. SQL Server solves this problem using lock classes. Lock Lifetimes. Lock classes. Reading data.

Testing 91
article thumbnail

Fundamentals of table expressions, Part 3 ? Derived tables, optimization considerations

SQL Performance

In Part 1 and Part 2 of this series, I covered the logical, or conceptual, aspects of named table expressions in general, and derived tables specifically. This month and the next I’m going to cover the physical processing aspects of derived tables. Both in terms of terminology and in terms of optimization.

C++ 93