Aggregates

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

Blogs

Azure SQL Database Compatibility with SQL Server

By

A long time ago, in early days of the Azure SQL Database in 2015,...

Custom deployment parameters in Azure Data Factory - Forget Me Not

By

(2020-Sep-26) Last week one of my Azure Data Factory (ADF) deployment pipelines failed with an...

VMworld 2020 – Top 10 Database Sessions (Part 2)

By

Whether you are a SQL Server Database Administrator, Infrastructure Architect, or any other member...

Read the latest Blogs

Forums

about the option (fast n) and acutal execution plan

By 892717952

 what kind of situation  can I use "option (fast 1)"  when I execute a...

Problem during the setup of SQL Server 2019

By Developper12345678

During the installation I come to the step of configuring the database engine. It...

A Getting Started PostgreSQL Tutorial

By Shivayan Mukherjee

Comments posted to this topic are about the item A Getting Started PostgreSQL Tutorial

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers