Query performance

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

SQL Server Plan Cache Limits

  • DatabaseWeekly

Erin Stellato explains the limits on both plan cache size, and number of entries. If you’re seeing plan cache bloat due to an ad hoc workload, take note of the space consumed by your plan cache and consider enabling the optimize for ad hoc setting.

2019-05-31

Blogs

Adding a License to GitHub

By

I’ve rarely thought about licensing my code, but it’s something to be aware of...

Weekly reading #29

By

The Data Breach Game: The 9 Worst IT Security Practices Joey D’Antoni shows bad...

#PowershellBasics: Get-Help -Online

By

One of the other things I learned from the Powershell class I’m taking this...

Read the latest Blogs

Forums

Introduction to the Partition By Window Function

By Additional Articles

Comments posted to this topic are about the item Introduction to the Partition By...

Do What Hurts

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Do What Hurts

Digging into Azure SQL Database Hyperscale Edition

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Digging into Azure SQL Database...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers