queryperformance

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

Blogs

Improving TweetDeck with Better TweetDeck

By

If you are at involved with the #sqlfamily, you are bound to hear about...

Interview with Bob Ward

By

This is the eight interview we have done. This time our guest is the...

SQL in the City Comes Back to Seattle

By

This year at the PASS Summit, Redgate is holding our SQL in the City...

Read the latest Blogs

Forums

Cannot UtilizeConnection via SSH from MS Sql Server to Postgresql DB (SSMS, SSIS

By cboone

I have an SSIS project that I am trying to deploy. When I run...

Help to optimize select query

By U J

Need help to rewrite the query for faster result. use ABC_DB; SELECT c.otherID, a.shortname,...

Help to optimize select query

By U J

Need help to rewrite the query for faster performance. use ABC_DB; SELECT c.otherID, a.shortname,...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers