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. For example, suppose that prior to SQL Server 2022 you had the following query: SELECT. You can download this sample database here.

Servers 142
article thumbnail

String Aggregation Over the Years in SQL Server

SQL Performance

Since SQL Server 2005, the trick of using FOR XML PATH to denormalize strings and combine them into a single (usually comma-separated) list has been very popular. On more than one occasion, I had to double-check the code was even mine. The most fatal flaw in the code above is it leaves a trailing comma: UserID Bands.

Servers 82
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

SQL Server I/O Basics Chapter #2

SQL Server According to Bob

Microsoft, ​​ Windows, ​​ Windows NT, ​​ and Windows Server ​​ are registered trademarks of Microsoft Corporation in the United States and/or other countries. The names of actual companies and products mentioned herein may be the trademarks of their respective owners.

Servers 40
article thumbnail

Observability platform vs. observability tools

Dynatrace

For example, in 2005, Dynatrace introduced a distributed tracing tool that allowed developers to implement local tracing and debugging. A database could start executing a storage management process that consumes database server resources. The case for an integrated observability platform.

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. “. The Back Story.

Servers 90
article thumbnail

It’s time to migrate from NAM to Dynatrace

Dynatrace

It evolved from the simplest web server plugins to runtime Java profilers to real-time performance monitoring of all transactions flowing end to end through application servers. Every real-user transaction traced down to the code level. .” The AppMon wave. Meanwhile, application performance management became mainstream.

Network 165
article thumbnail

The Return of the Frame Pointers

Brendan Gregg

Apart from library code, maybe your application doesn't have frame pointers either, in which case everything is broken. 2005-2023: The winter of broken profilers However, the change was then applied to x86-64 (64-bit) as well, which had sixteen registers and didn't benefit so much from a seventeenth. Back-end servers.

Java 145