Remove main-concepts-of-select-operators-in-sql-server-execution-plans
article thumbnail

Fundamentals of Table Expressions, Part 12 – Inline Table-Valued Functions

SQL Performance

I also compare them with stored procedures, mainly focusing on differences in terms of default optimization strategy, and plan caching and reuse behavior. The main advantage iTVFs have compared to views is the fact that they support input parameters. This article is the twelfth part in a series about named table expressions.

Cache 144
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

Deep Dive into MySQL’s Performance Schema

Percona

Instruments are the main part of the performance schema. Which IO operation is causing MySQL to slow down? At which execution stage is a query taking time, or how much time will an alter command will take? Instruments are a combination of different sets of components like wait, io, sql, binlog, file, etc.

article thumbnail

Nested Loops Joins and Performance Spools

SQL Performance

An example plan shape showing a lazy table performance spool is below: The questions I set out to answer in this article are why, how, and when the query optimizer introduces each type of performance spool. Just before we get started, I want to stress an important point: There are two distinct types of nested loop join in execution plans.

article thumbnail

SQL Server On Linux: Forced Unit Access (Fua) Internals

SQL Server According to Bob

SQL Server relies on Forced-Unit-Access (Fua) I/O subsystem capabilities to provide data durability, detailed in the following documents: SQL Server 2000 I/O Basic and SQL Server I/O Basics, Chapter 2. Be sure to deploy SQL Server 2017 CU6 or newer for best data durability and performance results. “.

Servers 90
article thumbnail

MySQL 8: Load Fine Tuning With Resource Groups

Percona

It is well hidden in the Optimization: Optimizing the MySQL Server chapter. It is well hidden in the Optimization: Optimizing the MySQL Server chapter. Resource groups permit assigning threads running within MySQL to particular groups so that threads execute according to the resources available to this group.

Tuning 44