Query performance

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,808 reads

Blogs

SQL on-demand in Azure Synapse Analytics

By

The new SQL on-demand (to be renamed SQL serverless) offering within Azure Synapse Analytics...

My First Hand-built AWS CodePipeline

By

I’ve just completed my first, successful, AWS CodePipeline. I’m sorry to say it took...

Fixing Broken Pip

By

I’ve got Python 3.8 on my machine, and recently I got a note that...

Read the latest Blogs

Forums

Using Begin Tran for a select statement?

By Steve

Hello All I have an overly complex SELECT statement that I am married to...

Exclude square bracket and text from start or end of string

By PSB

Hi, I want to remove square brackets and text from either start of string...

MCSA Certifications - SQL2016

By dax.latchford

Dear all - Firstly apologies if my post isn't specifically for this particular forum...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers