CTE

Optimize Your SQL by Reformulating the Spec

  • Article

As SQL developers, we tend to think of performance tuning in terms of crafting the best table indices, avoiding scalar and table valued functions, and analyzing query plans (among other things). But sometimes going back to the spec and applying some properties of elementary math can be the best way to begin to improve performance of SQL queries which implement mathematical formulas. This article is a case study of how I used this technique to optimize my SQL implementation of the Inverse Simpson Index.

5 (2)

2019-09-12

2,862 reads

Blogs

2020 Advent of Code–Day 3

By

This series looks at the Advent of Code challenges. As one of my goals,...

Welcome to the Azure Data Community, empowered by Microsoft

By

After the Professional Association of SQL Server (PASS) unceremoniously closed down in January this...

Daily Coping 24 Feb 2021

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Read the latest Blogs

Forums

Minimal Downtime Storage Migration of Large Databases

By Dinesh Karunarathna

Comments posted to this topic are about the item Minimal Downtime Storage Migration of...

Some questions regarding Service Broker

By kramaswamy

Hi all, I have a third-party database/application that I'm attempting to augment with functionality...

Multiple listener for same AG

By Syed_SQLDBA

I am trying to educate myself and understand what are some of the advantages...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers