article thumbnail

Additional T-SQL Improvements in SQL Server 2022

SQL Performance

If you’re using T-SQL to compute percentiles as part of your work, these functions should be familiar to you since they’ve been supported in SQL Server 2005 and later. Computing accurate percentiles has negative implications in terms of memory footprint and performance. 75 Test XYZ Student C 55 Test XYZ 77.5

Servers 142
article thumbnail

Service Workers can save the environment!

Dean Hume

Electricity used by servers doubled between 2000 and 2005 (and has continued growing ever since) from 12 billion to 23 billion kilowatt hours. Processors and memory consume the most power on the server, followed by the power supply efficiency loss. When we build websites, a lot of focus is placed on web performance (and rightly so!),

Energy 40
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

Service Workers can save the environment!

Dean Hume

Electricity used by servers doubled between 2000 and 2005 (and has continued growing ever since) from 12 billion to 23 billion kilowatt hours. Processors and memory consume the most power on the server, followed by the power supply efficiency loss. When we build websites, a lot of focus is placed on web performance (and rightly so!),

Energy 40
article thumbnail

Service Workers can save the environment!

Dean Hume

Electricity used by servers doubled between 2000 and 2005 (and has continued growing ever since) from 12 billion to 23 billion kilowatt hours. Processors and memory consume the most power on the server, followed by the power supply efficiency loss. When we build websites, a lot of focus is placed on web performance (and rightly so!),

Energy 40
article thumbnail

The Management Revolution that Never Happened

The Agile Manager

Technocracy was, too: "best practice" was derived from people performing narrowly defined tasks in rigid processes that yielded poor quality products at a high cost. Frederick Taylor defined and measured performance down to the task level. In the 1980s, it seemed we were on the cusp of a revolution in management.

article thumbnail

Faster remainders when the divisor is a constant: beating compilers and libdivide

Daniel Lemire

In some instances, libdivide can even be more efficient than compilers because it uses an approach introduced by Robison (2005) where we not only use multiplications and shifts, but also an addition to avoid arithmetic overflows. What if d is a constant, but not known to the compiler? Then you can use a library like libdivide.

C++ 279
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. In the SQL Server 2005 days, I would have offered this solution: SELECT DISTINCT UserID , Bands =. ( But is it the most efficient? ( SELECT BandName + ', '.

Servers 82