Arithmetic

SQLServerCentral Article

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 (3)

You rated this post out of 5. Change rating

2021-05-07 (first published: )

5,370 reads

Blogs

Capturing Ideas for Blogs

By

As we close out the year, I decided to drop this post here and...

A New Word: Lilo

By

lilo– n. a friendship that can lie dormant for years only to pick right...

Learning Database Design and Power BI Performance

By

I spend my days working on and managing SQL Server instances—working days at least,...

Read the latest Blogs

Forums

Problem installing SQL Server 2022

By cordellmelvin

Hello, I currently have an instance of SQL Server 2019 Developer installed on my...

How to Attach and Detach Databases in SQL Server

By Noman072

Comments posted to this topic are about the item How to Attach and Detach...

What is Terraform?

By Steve Jones - SSC Editor

Comments posted to this topic are about the item What is Terraform?

Visit the forum

Question of the Day

What is Terraform?

What is Terraform (from Hashicorp) used for in technology?

See possible answers