Arithmetic

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

Blogs

Learning Postgres:Installation

By

I had the opportunity of working on a project converting a postgres database to...

Transforming JSON data with the help of Azure Data Factory - Part 3

By

(2020-Apr-06) Traditionally I would use data flows in Azure Data Factory (ADF) to flatten (transform)...

Disks performance in Azure

By

In our earliest post, we have discussed in detail about the factors that affect...

Read the latest Blogs

Forums

read-sqltabledata and write-sqltabledata is not recognized as a cmdlet name, fun

By abdalah.mehdoini

Good morning all I can no longer use the powershell command "read-sqltabledata" and the...

fetcth aggregate data

By aabasoj

Hi All,   I am having table where below list of columns OrderNo ActualHours...

Who is the best person for the job?

By bkubicek

Comments posted to this topic are about the item Who is the best person...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers

Question of the Day

Linux Support

See possible answers