arithmetic expression

SQLServerCentral Article

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)

You rated this post out of 5. Change rating

2021-05-07 (first published: )

5,360 reads

Blogs

When It’s Still Viable

By

If a technology is still viable, don’t overlook it. Don’t get caught up chasing...

T-SQL Tuesday #179: The Detective’s Toolkit

By

It’s time for the monthly T-SQL Tuesday blog party. This month a longtime friend,...

Moving T-SQL Tuesday to Jekyll

By

I got a message a few months back that Microsoft was deprecating the MySQL...

Read the latest Blogs

Forums

What are the dimensions of a 55-inch TV?

By getassistnet

55 inches represent the diagonal length of the TV screen. The dimensions are important...

Starting to Estimate Disk Storage for Memory-Optimized Tables

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Starting to Estimate Disk Storage...

Keep. It. Simple.

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Keep. It. Simple.

Visit the forum

Question of the Day

Starting to Estimate Disk Storage for Memory-Optimized Tables

If I have durable memory-optimized tables, what is the starting point for estimating storage space?

See possible answers