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

Blogs

Distributing Jupyter Notebooks

By

If you’re working with the Microsoft Data Platform, you should be, at the least,...

SQLSaturday Orlando Notes – Large Printed Schedules

By

One of the things we’ve done most years in Orlando is to print poster...

Upgrading Windows 10 Home to Pro

By

I use Hyper-V and a few other things that require Windows 10 Pro. When...

Read the latest Blogs

Forums

RPC:Completed,sp:Stmtcompleted, SQL:BatchCompleted and SQL:stmtCompleted

By 892717952

what are their differences among EventClass of RPC:Completed,sp:Stmtcompleted, SQL:BatchCompleted and SQL:stmtCompleted under SQL Profiler...

Deploying Data and Schema Together with SQL Compare or SQL Change Automation

By Additional Articles

Comments posted to this topic are about the item Deploying Data and Schema Together...

SQL Server Name Convention and T-SQL Programming Style

By kast218

Comments posted to this topic are about the item SQL Server Name Convention and...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers