queryperformance

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

Blogs

Notifications in Azure Data Factory: Email, Internal Alerts, Log Analytics Alerts

By

(2019-Dec-15) While working on data integration projects and using Azure Data Factory as your main...

SSMS Tip: Portable User Settings

By

I’m a creature of habit. With the software tools that I use, I like...

Schema evolution solved using Delta Lake & Databricks

By

Don’t know about you, but one of my least favourite data pipeline errors is...

Read the latest Blogs

Forums

Same DB, geographically diverse?

By SystemlordAnubis

Hi Everyone, I have a database (~50GB in size) with content that is constantly...

Updating Statistics

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Updating Statistics

SQL Server performance issue after an upgrade

By Kanishka Basak

Comments posted to this topic are about the item SQL Server performance issue after...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers