Facebook Twitter GitHub LinkedIn LinkedIn LinkedIn
Back to all posts

Posts tagged: performance-optimization

March 19, 2021

Speeding up SQL queries by orders of magnitude using UNION

By Ben Levy and Christian Charukiewicz
SQL's UNION operation isn't usually regarded as a way to optimize query performance, but in many cases it can be used to achieve massive improvements in speed.
November 23, 2020

Reducing the pain of grouping SQL query results using Haskell

By Ben Levy and Christian Charukiewicz
Semigroups allow us to transform the denormalized results of our SQL queries into a structure that models parent-child relationships by focusing on the types we want to achieve rather than by writing tedious merge operations.