PerformanceTuning

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

Blogs

SQL server Linux and SQLCMD

By

Following on from a previous blog post (https://blobeater.blog/2021/01/15/sql-server-linux/) on installing SQL Linux, a common...

Azure Platform Series: cloudshell code -your (brilliant) online editor

By

This post is about code which is an online editor you can use with...

Bash: ^^}: bad substitution – upgrade your Bash version (macOS)

By

This blog post is about a situation where you are capitalising an argument in...

Read the latest Blogs

Forums

Error in bcp query out

By SQL_Surfer

I've been playing around wiht bcp out the data into csv file but been...

Multi subnet failover cluster

By sqlguru

My goal is to have an FCI across 2 nodes with shared storage (node...

Power Query or SQL Server? Which, when and why

By vsanchezjauregui

Comments posted to this topic are about the item Power Query or SQL Server?...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers

Question of the Day

Strange Code

See possible answers