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

2021-05-07 (first published: )

4,637 reads

Blogs

T-SQL Tuesday Retrospective #015: Automation

By

In February 2011, Pat Wright invited us to talk about Automation: So the topic...

Daily Coping 12 May 2021

By

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

Updated Pluralsight Course – Managing the Kubernetes API Server and Pods

By

My updated course “Managing the Kubernetes API Server and Pods” in now available on Pluralsight here! If...

Read the latest Blogs

Forums

SQL 2012 Standard - Index highly fragmented

By mjbc

Hi there, Complete newb.  Need some guidance. Running SQL 2012, running INFOR ERP.  Indexes...

Manual tasks in SSIS design

By Roust_m

Hi, I am getting CSV files with hundreds of columns many of which have...

Loading a csv file into sql server table

By Roust_m

Hi, I've created a simple dataflow with flat file source and sql server destination....

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers