Phil Jacobs

Optimize Your SQL by Reformulating the Spec

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

VMworld 2020 – Top 10 Database Sessions (Part 2)

By

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

Daily Coping 25 Sep 2020

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

VMworld 2020 – Top 10 Database Sessions (Part 1)

By

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

Read the latest Blogs

Forums

Ignore the entire record if a matching record is found

By SQL_Hunt

Hello, Kindly guide me with the following code in T-SQL. I need to only...

New Stuff Can Be Scary

By Grant Fritchey

Comments posted to this topic are about the item New Stuff Can Be Scary

Stored Procedure Performance Woes... How to get around CURSORS for html gen.

By scarr030

Hi everyone, Working with a stored procedure that is used in an application of...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers